Page tree
Skip to end of metadata
Go to start of metadata

Visual Composer offers several ways for users to interact with CSS:

First: You can access WP Dashboard -> Visual Composer -> Design Options tab where you change default color and margin/padding settings for content elements. 

 

 

Second: Under Visual Composer -> Custom CSS tab you can add your own custom CSS style rules.


 

Third: You can add custom CSS rules for exact Page or Post. In the Page or Post edit window you will see CSS button on the right top side above Visual Composer window, click it to open form where you can place custom CSS rules for this particular page or post.


 

Fourth: If you wish to style particular content element differently, then you can add class name for exact element on your Page or Post by entering it in the "Extra CSS Class name" in the edit window of your element. Important: you can not add CSS code within "Extra CSS class name" field directly - this field is for class name only. CSS code should be stored in the proper place (your theme css files, custom css field in VC settings page, etc.)


 

Fifth: To override class names that are applied to Visual Composer content elements you should use WordPress add_filter("vc_shortcodes_css_class").