Skip to content

Using Color Palette Colors for WPBakery Sections, Rows and Columns

The Color Palette functionality in Total allows you to define global colors for use on your site. Since it’s not possible to properly integrate the theme’s color picker directly into the WPBakery design options, what we’ve done is added extra settings for use:

Unfortunately, because of how WPBakery is coded this is the best solution we could come up with so it looks a bit weird seeing both WPBakery and the theme’s color pickers. But it provides so much flexibility it’s worth it.

Using Color Palette Classnames (Older Docs)

Previously you had to use the color palette classnames to use your color palette colors in WPBakery – this is no longer required. However, we’ve kept the docs in case you want to use this method for non theme elements or other parts of your site.

Locate Your Color Classname

Head over to Theme Panel > Color Palette to locate the classname you want to apply to your WPBakery element.

While in the Color Palette panel you will notice 2 columns with the classnames for applying a palette color to an element on your site. The Color Class is used to set the text of an element to your palette color and the Background Class is used to apply your color palette color as the background-color for your element.

Simply click on the input for the class you want to copy which will highlight the classname so you can copy it.

Paste Your Classname into Your WPBakery Element

Now that you have located and copied your color palette color classname you can edit any WPBakery element and insert the classname into the Extra class name field like the example below.

Important Notice

By default WPBakery works with negative margins on their Rows to offset inner column spacing. So if you just add a color palette classname to a row it will extent a bit to the left/right.

To fix this you can click on the “Design Options” tab and enter 0px for the left and right margins or if you don’t need multiple columns on the row you can instead set the “Inner Column Gap” setting in the General tab to 0px.

Back To Top