Need a special offer?Find out if your project fits.
+

Create Custom Style unavailable in HTML5 version.

Answered
Alexandre Muskus asked on September 10, 2015

Hello,
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?

7 answers

Public
Ian Sadovy Ian Sadovy Flexmonster September 10, 2015

Hello Muskus,
 
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/
 
Regards,
Ian

Public
Alexandre Muskus September 10, 2015

Thanks Ian!
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! 😀

Public
Alexandre Muskus September 10, 2015

dont work setStyle?

Public
Ian Sadovy Ian Sadovy Flexmonster September 11, 2015

Muskus,
 
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.
 
Regards,
Ian

Public
Leôncio Barbosa September 16, 2015

But, if I change the regular CSS and the FlexMonster relese a new version, the CSS will not broken new desing features?

Public
Ian Sadovy Ian Sadovy Flexmonster September 17, 2015

Hello Leoncio,
 
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. 
 
Regards,
Ian

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 19, 2016

Hello Alexandre, Leôncio and all Flexmonster users,
After the release of version 2.3, we would like to provide you with the updated sample: http://jsfiddle.net/flexmonster/4rLgrquc/.
Regards,
Tanya

Please login or Register to Submit Answer