Best practices for using CSS with your Shogun elements

If you already have some CSS classes in your site's theme, you can use them in the CSS class field to apply those styles to Shogun elements.

There's no specific syntax. You just put in the class name, e.g., btn-large. You don't need a leading dot like you normally would in CSS classes.

You can also add style tags directly into your Shogun page using in the HTML element, like this:

<style>
    .my-selector {        
        attribute: value;    
    }
</style>


Custom CSS can also be added into your theme's stylesheet.

Did this answer your question?