[Resolved] Font Still Loads Despite Not Being Primary

Home Forums Support Font Still Loads Despite Not Being Primary

  • This topic has 3 replies, 2 voices, and was last updated 1 month ago by Elvin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1682396
    Cameron

    Hey there,

    Working on improving my site speed and I’ve switched my font to system stack in order to reduce the time of loading fonts. However, the old font seems to still being loaded and I can’t seem to find where it is located. I’ve cleared my cache, but that still seems to have no impact.

    “Eliminate render-blocking resources”

    https://fonts.googleapis.com/css?family=Playfair+Display:regular,italic,700,700italic,900,900italic

    Cheers,
    Cameron

    #1682595
    Elvin
    Staff
    Customer Support

    Hi there,

    Have you sorted this out? I’ve checked the site you’ve linked and I don’t see playfair display being requested anymore.

    Normally, GP sites have something like this as font request to Google servers.
    <link rel="stylesheet" id="generate-fonts-css" href="//fonts.googleapis.com/css?family=Playfair+Display:regular,italic,700,700italic,900,900italic" media="all">

    Your site doesn’t have one. I don’t see it on the sources when I inspect as well. https://share.getcloudapp.com/yAu6e0jb

    A wise man once said:
    "Have you cleared your cache?"

    #1682790
    Cameron

    Yes, I was able to find this and remove it by adding a PHP snippet.

    https://docs.generatepress.com/article/remove-google-fonts/

    #1685997
    Elvin
    Staff
    Customer Support

    Nice one. Thank you for letting us know. Glad you got it sorted. 🙂

    A wise man once said:
    "Have you cleared your cache?"

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