[Support request] Removing Google Fonts doesn’t work

Home Forums Support [Support request] Removing Google Fonts doesn’t work

Home Forums Support Removing Google Fonts doesn’t work

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2342620
    Krempel & Co. Werbeagentur

    Hello,

    I added 2 Google Fonts local using this guide (https://docs.generatepress.com/article/adding-local-fonts/)

    Then I followed your guide to remove Google Fonts from Loading via GP and removing it from the customizer using these functions: https://docs.generatepress.com/article/remove-google-fonts/

    They don’t seem to work anymore – Google Fonts still show up in the customizer and on the homepage google fonts is still loaded via GP:
    <link rel='dns-prefetch' href='//fonts.googleapis.com' />
    <link rel='stylesheet' id='generateblocks-google-fonts-css' href='https://fonts.googleapis.com/css?family=Lora:regular,500,600,700,italic,500italic,600italic,700italic&display=swap' media='all' />

    Are these functions still up to date? Any idea why these are loaded on the homepage but not the subpages?

    Regards,
    Maurice

    #2342650
    David
    Staff
    Customer Support

    Hi there,

    that request is being made by the GenerateBlocks Plugin, which means somewhere on your site you have set the a GenerateBlocks typography option.

    I scanned your Stylesheets looking for the CSS that is using the Lora font. And if found these:

    gb-headline-slider-hl – is this a Global Style

    And then in the home page there i a Grid with 3 columns ( Schwimmbad, Floating, Sauna ). The Container Blocks in those columns has the font set there.

    You need to edit each of those blocks and tell it NOT to load the google font.

    #2342652
    Krempel & Co. Werbeagentur

    Oh, you’re right. I misread that.

    Is there a way to tell GB not to use Google Fonts? In a similar fashion like there is in GP?

    #2342708
    David
    Staff
    Customer Support

    Not yet. Its under development, we hope to have it in place for GB 1.7.

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