Site logo

[Resolved] Can’t find where Google Font is loading from

Home Forums Support [Resolved] Can’t find where Google Font is loading from

Home Forums Support Can’t find where Google Font is loading from

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1816921
    Daniel

    Hey all – I’m new to the forum so just want to say I absolutely love GeneratePress. Seriously brilliant. I’m working on my website – https://www.backandpack.com/ – and trying to optimize via PageSpeed. I noticed Google Fonts in loading – <link rel=’stylesheet’ id=’generateblocks-google-fonts-css’ href=’//fonts.googleapis.com/css?family=Poppins:700&display=swap’ media=’all’ /> – when I view the source, but for the life of me can’t find where “Poppins” is on the page. I added the php here – https://docs.generatepress.com/article/remove-google-fonts/ and have basically gone through every sneaky place I can think of. Am I missing something obvious? Any suggestions?

    #1816935
    Elvin
    Staff
    Customer Support

    Hi Daniel,

    Looking at the id of the element, it’s coming from GenerateBlocks.

    GenerateBlocks will only load Google fonts if it detects that one of its blocks are set to use it.

    One of your Headline blocks likely has Google font option toggled on.

    #1817309
    Daniel

    Thanks Elvin – that helped me narrow it down a bit. I checked all the default headlines and typography settings. Everything was set to a different font. I even went headline by headline on the page to see if something wasn’t set to the default fonts – and didn’t find the issue initially. But I did just now. It seems I had a couple social media icons in the footer with “Remove Text” switched on. When I switched that off, the Typography settings appeared and both were set to Poppins. Sneaky sneaky! Anyway, all better now. Thanks for the help!

    #1818162
    Elvin
    Staff
    Customer Support

    Ah yes! I forgot about that.

    Nice catch! glad you got it sorted. 🙂

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