No results found. Try again with different words?

Search must be at least 3 characters.

Disable Astra Global Colors In Elementor

Sidebar Image

Did not find a solution? We are here to help you succeed.

Astra theme comes with the Global Color Palette feature that allows you to control colors across your entire website. Now, you can add your brand colors to Astra global colors and use them anywhere, including Elementor Global Colors. However, if you want to disable Astra colors in Elementor, you must add a custom code.

Astra Global Colors In Elementor

When designing your website, you will notice that both Elemetor and Astra global colors will be available in color settings.  To choose the global colors, please navigate to Appearance>Customizer>Global>Colors.

Astra_Global_Colors

The same colors that you choose on the Global Color Palette, will be displayed in the Elementor Color Settings. Please edit a page with the Elementor, click on settings, and navigate to the style option. You will notice that all your global colors are also available in the Elementor color settings.

Astra-elementor-global-colors

How To Remove This?

If you do not want the Elementor to display the Astra Global Colors under color settings, you will need to add a filter. You can add the following custom code to the functions.php file of your Child Theme:

# Disable Astra Global Colors In Elementor

add_filter( 'astra_disable_global_colors_in_elementor', '__return_true' );

If you don’t have your Child Theme installed, please check this article on how to do it. 

If you are not sure how to add this code, please check this article.

If you are still not sure how this works, please do not hesitate to create a support ticket, and we will be happy to look into this further.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Membership Retention Checklist Download

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form