Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
How do I add a new Visual Style Class so that I can use it in Vantage/Page Builder?
Hi
If you have some CSS and PHP understanding you can find our developer tutorial here: https://siteorigin.com/page-builder/theme-integration/. Alternatively please click on the Visual Style button, the second button on the right of any Page Builder row. We’ve created an interface for you to create your styles there.
Thanks
Worked out the php etc.
Would be good to update the doco to identofy the php file you need yo edit to add the additonal styles.
Also when the template auto upgrades will this over right my custom style setting in the php?
Oh and can we please have font color as an option in the style builder interface
For sure. At this stage it’s more a theme developer level document, hence the brevity of it.
The PHP needs to go in the functions.php file of your child theme and the CSS into Appearance > Custom CSS. Doing it this way will prevent any losses during update. Glad to hear you’re thinking that way!
If you have a moment please send your font suggestion for row styles through to the dev team here: https://siteorigin.com/suggest-feature/.
For now you could use Custom CSS to customise. Our tutorial for doing so is here: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/