Archived topic
Lighthouse issues with font
3 replies · Started by Kia on December 19, 2019
Hi,
We recently moved to GeneratePress and think it's a great theme.
In Lighthouse, however, we have consistently received an issue with the font.
Warnings: Lighthouse was unable to automatically check the font-display value for the following URL: https://www.atlasandboots.com/wp-content/themes/generatepress/fonts/generatepress.woff2.
Do you know how I can fix this please? For reference, I have the following line in my header to address an earlier issue it was throwing up around pre-loading the font.
<link rel="preload" href="/wp-content/themes/generatepress/fonts/generatepress.woff2" as="font" type="font/woff2" crossorigin>
Thank you!
Kia
Hi there,
Can you try using the SVG option?
https://docs.generatepress.com/article/svg-icons/
Then the generatepress.woff2 shouldn't load at all.
Let me know :)
Thank you, Leo. That solved it.
No problem :)