Reset Default Global Fonts & Colors

Documentation>Development>Reset Default Global Fonts & Colors

By default Elementor sets global options for fonts & colors. You can easily disable the Global Options upon theme activation instead of requiring users to do this manually (Disable Global Colors, Disable Global Fonts, and remove Default Generic Fonts).

This will ensure the page builder uses your theme defaults for fonts and colors.


To remove this upon theme activation, include this snippet of code into your themes functions.php file:

// Removes Elementor Global Defaults for Fonts, Colors, and Typography upon install RE:
if ( is_admin() && isset($_GET['activated'] ) && $pagenow == 'themes.php' ) {
	update_option( 'elementor_disable_color_schemes', 'yes' );
	update_option( 'elementor_disable_typography_schemes', 'yes' );
}