Support » Theme: Gazette » 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 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]

Viewing 16 replies (of 16 total)
  • If its alright, I’ll include the advice from this thread and link back.

    Sure, no problem. Glad I could help 🙂

Viewing 16 replies (of 16 total)
  • The topic ‘How to Remove Google Web Fonts’ is closed to new replies.