[Resolved] Lighthouse issues with font

Home Forums Support [Resolved] Lighthouse issues with font

Home Forums Support Lighthouse issues with font

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1109157
    Kia

    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

    #1109271
    Leo
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #1109964
    Kia

    Thank you, Leo. That solved it.

    #1110081
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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