Archived topic
Font Still Loads Despite Not Being Primary
3 replies · Started by Cameron on March 4, 2021
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
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
Yes, I was able to find this and remove it by adding a PHP snippet.
Nice one. Thank you for letting us know. Glad you got it sorted. :)