Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Can not deactivate Google Fonts

  • Hello, I have loaded the fonts locally on the web space and, in my opinion, integrated them correctly. Unfortunately I can’t deactivate the Google Fonts now. Although I remove the checkmark in the Customizer, the Google Font is still loaded. In the block settings I also do not load the font via Google.

    Frontend

    php

    backend

  • Hi there,

    why do you think the Google Font API is being used? As i cannot see that on your site.

  • Just dequeued the stylesheet. But I would still like to know why the fonts are loaded.

    /* dequeue google-fonts */
    function betzchrom_dequeue_child_theme_styles() {
        wp_dequeue_style( 'generateblocks-google-fonts' );
    }
    add_action( 'wp_print_styles', 'betzchrom_dequeue_child_theme_styles', 100 );
  • Without dequeuing.
    no dequeue

    With dequeue.
    dequeue

  • If they go away when dequeuing generateblocks-google-fonts then it means theres a generateblock on the page that is making that request.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.