Disabling Google Fonts

If you need to disable the Google Fonts list in the Builder and WP Customize (eg. server can not load the fonts or performance issues), you can disable it with the following methods:

Method 1) Themify Panel

Go to Themify > Settings > General -> Google Fonts, select disable Google Fonts option

Method 2) Child Theme

If you need to disable the Google Fonts list in the Builder and WP Customize (eg. server can not load the fonts or performance issues), you can disable it with the following custom function.

  • Create a child theme and a functions.php file (if it doesn't exist)
  • Paste in the following function:

<?php
	// disable Google fonts
	add_action( 'after_setup_theme', 'theme_disable_google_fonts', 1 );
	function theme_disable_google_fonts() {
		define('THEMIFY_GOOGLE_FONTS', false);
	} 
?>