Create Custom Style unavailable in HTML5 version.
The section create custom style is unavailable in HTML5 version.
I did test custom style following the doc. but dont worked.
WHere i can see a sample?
Thank you for the question.
You can customize the appearance of HTML5 version using CSS (the same way as for the regular HTML).
Please check the fiddle with sample: http://jsfiddle.net/iansadovy/1ddjo019/
In documentation i see i can set default backgroundcolor and the component change all pivot the variation.
It only one line of code. It´s very easy! 😀
dont work setStyle?
Let me clarify, “one line” approach and setStyle() method only applicable for Flash version.
For HTML5 version regular CSS should be used.
Hope this helps.
But, if I change the regular CSS and the FlexMonster relese a new version, the CSS will not broken new desing features?
Thanks for the question.
We recommend writing your custom CSS in the separate file (i.e. my-styles.css) and keep original styles in the flexmonster.css.
So, after upgrading Flexmonster to the newest version you will not brake new features and easily maintain your custom CSS.