Home › Forums › WordPress Themes – Premium › Lavish Pro › Google Fonts & Optimizing CSS › Reply To: Google Fonts & Optimizing CSS
December 15, 2016 at 5:27 am
#40711
Moderator
Dear Diana Cobb,
Those font are rendered using wp_enqueue_scripts hook, you can this on functions.php file under lavish_scripts () function.
If you want to remove them you you can dequeue[ https://codex.wordpress.org/Function_Reference/wp_dequeue_style ] this handler on child theme functions.php
You can follow this example:
function lavish_child_dequeue_scripts() {
wp_dequeue_style( 'lavish-open-sans');
wp_dequeue_script( 'lavish-lato' );
}
add_action( 'wp_enqueue_scripts', 'lavish_child_dequeue_scripts', 100 );
Note: Please follow this procedure only if you are technically sound on WordPress, otherwise you will get some fatal error.
Thanks