{"id":5700,"date":"2021-04-11T17:31:49","date_gmt":"2021-04-11T09:31:49","guid":{"rendered":"https:\/\/bakrie-brothers.com\/?post_type=docs&#038;p=5700"},"modified":"2021-04-11T17:31:49","modified_gmt":"2021-04-11T09:31:49","slug":"how-to-manage-css-with-wpbakery-page-builder","status":"publish","type":"docs","link":"https:\/\/bakrie-brothers.com\/id\/help\/how-to-manage-css-with-wpbakery-page-builder\/","title":{"rendered":"How to manage CSS with WPBakery Page Builder?"},"content":{"rendered":"<p>WPBakery Page Builder offers several ways for users to interact with CSS:<\/p>\n\n\n\n<p><strong>First:<\/strong>\u00a0You can access WP Dashboard ->\u00a0WPBakery Page Builder -> Design Options tab where you change default color and margin\/padding settings for content elements.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"   title=\"How to Edit Your WordPress Site Look with WPBakery Page Builder Design Options\"   width=\"640\"   height=\"360\"   src=\"https:\/\/www.youtube.com\/embed\/0IUKAACdd6E?feature=oembed\"   frameborder=\"0\"   allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"   referrerpolicy=\"strict-origin-when-cross-origin\"   allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Second:<\/strong>\u00a0Under WP Dashboard ->\u00a0WPBakery Page Builder -> Custom CSS tab you can add your own custom CSS style rules.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"   title=\"How to Add Custom CSS to Your WordPress Site with WPBakery Page Builder\"   width=\"640\"   height=\"360\"   src=\"https:\/\/www.youtube.com\/embed\/HEP16aj5eXs?feature=oembed\"   frameborder=\"0\"   allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"   referrerpolicy=\"strict-origin-when-cross-origin\"  allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Third:<\/strong>\u00a0You 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\u00a0WPBakery Page Builder window, click it to open form where you can place custom CSS rules for this particular page or post.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"   title=\"How to Add Custom CSS to Your WordPress Page with WPBakery Page Builder\"   width=\"640\"   height=\"360\"   src=\"https:\/\/www.youtube.com\/embed\/poE_tPJ1JQM?feature=oembed\"   frameborder=\"0\"   allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"   referrerpolicy=\"strict-origin-when-cross-origin\"  allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Fourth:<\/strong>\u00a0If you wish to style particular content element differently, then you can add class name for the exact element on your Page or Post by entering it in the \u201cExtra CSS Class name\u201d in the edit window of your element. Important: you can not add CSS code within \u201cExtra CSS class name\u201d field directly \u2013 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.)<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\"   title=\"How to Add CSS to Element with WPBakery Page Builder for WordPress\"   width=\"640\"   height=\"360\"   src=\"https:\/\/www.youtube.com\/embed\/3-BW2YPTVZU?feature=oembed\"   frameborder=\"0\"   allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\"   referrerpolicy=\"strict-origin-when-cross-origin\"  allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><strong>Fifth:<\/strong>&nbsp;To override class names that are applied to&nbsp;WPBakery Page Builder content elements you should use WordPress&nbsp;add_filter(\u201cvc_shortcodes_css_class\u201d).<\/p>","protected":false},"excerpt":{"rendered":"<p>WPBakery Page Builder offers several ways for users to interact with CSS: First:\u00a0You can access WP Dashboard ->\u00a0WPBakery Page Builder -> Design Options tab where you change default color and margin\/padding settings for content elements. Second:\u00a0Under WP Dashboard ->\u00a0WPBakery Page Builder -> Custom CSS tab you can add your own custom CSS style rules. Third:\u00a0You 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\u00a0WPBakery Page Builder window, click it to open form where you can place custom CSS rules for this particular page or post. Fourth:\u00a0If you wish to style particular content element differently, then you can add class name for the exact element on your Page or Post by entering it in the \u201cExtra CSS Class name\u201d in the edit window of your element. Important: you can not add CSS code within \u201cExtra CSS class name\u201d field directly \u2013 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:&nbsp;To override class names that are applied to&nbsp;WPBakery Page Builder content elements you should use WordPress&nbsp;add_filter(\u201cvc_shortcodes_css_class\u201d).<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[84],"doc_tag":[],"class_list":["post-5700","docs","type-docs","status-publish","hentry","doc_category-page-builder"],"_links":{"self":[{"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/docs\/5700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/comments?post=5700"}],"version-history":[{"count":0,"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/docs\/5700\/revisions"}],"wp:attachment":[{"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/media?parent=5700"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/doc_category?post=5700"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/bakrie-brothers.com\/id\/wp-json\/wp\/v2\/doc_tag?post=5700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}