• I would like to install the Google fonts locally on my server. Many themes let the user deactivate the google fonts and give options to set a local path. How can I deactivate that in YITH-Proteo (without installing another Plugin). Which CSS code do I have to add in the function.php ? (it is about Jost and Monserrat)

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi there, please add the following code in the functions.php of your child theme

    if ( ! function_exists( 'yith_proteo_inline_style_disable_gfonts' ) ) {
    	add_action( 'wp_enqueue_scripts', 'yith_proteo_inline_style_disable_gfonts', 10 );
    	function yith_proteo_inline_style_disable_gfonts() {
    		wp_dequeue_style( 'yith-proteo-custom-google-fonts' );
    	}
    }
Viewing 1 replies (of 1 total)
  • The topic ‘How to deactivate Google Fonts’ is closed to new replies.