How to Remove Google Web Fonts
-
Hello,
Using the following code, I am trying to remove Google Web Fonts (gazette-lora and gazette-lato-inconsolata) and default to Web Safe Fonts.
function gazette_dequeue_googlefonts() { wp_dequeue_style( 'gazette-lora' ); wp_dequeue_style( 'gazette-lato-inconsolata' ); } add_action( 'wp_enqueue_scripts', 'gazette_dequeue_googlefonts', 100 );
However, these two just don’t seem to budge! I use a Chrome extension called WhatFont and a Firefox extension What Font – OLI to verify these fonts continue to exist.
Is it possible? If so, could you please advice how to?
PS: I use a plugin to disable google fonts. I do not see http requests going to fonts.googleapis.com anymore. But Lato and Lora continue show in WhatFont browser extension tools.
Kind regards,
The page I need help with: [log in to see the link]
- The topic ‘How to Remove Google Web Fonts’ is closed to new replies.