How to disable all request to the Google Fonts library
Step 1 : Disable all Google Fonts from theme settings
– Go to wp-admin>Croma>typography: And select a system font (eq: Arial) or click on reset (https://d.pr/i/3ZHbXB) for each element.
- Go to wp-admin>croma>menu: And do the same for the classic menu AND the push menu.
You have to change the menu type to reset the typography. (https://d.pr/i/TiY3RM)
- Go to wp-admin>croma-music>Music Player: Select "Inherit" for each typography options.
- Go to wp-admin>croma-music>Event: Select "Inherit" for each typography options.
Step 2 : Disable theme default Google Fonts.
- Ativate the child-theme.
- Edit the function.php file from the child theme.
- Add this code:
function iron_dequeue_googlefonts() {
wp_dequeue_style( 'croma-google-font' );
}
add_action( 'wp_enqueue_scripts', 'iron_dequeue_googlefonts', 12);
Step 3 : Disable all Google Fonts from other plugins
Be sure no elements from plugins as wpbakery and essential grid load some google fonts.