• Resolved tonyz111

    (@tonyz111)


    Hi, im using open sans font in GeneratePress theme, When I refresh the page I see my text first in sans-serif for 0.5 seconds (while loading), then it turns to Open Sans
    I also tried to install open sans in system fonts, there also same problem

    How can I fix this?

    Thanks!

    • This topic was modified 3 years, 5 months ago by tonyz111.
    • This topic was modified 3 years, 5 months ago by tonyz111.
    • This topic was modified 3 years, 5 months ago by tonyz111.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    By default Browsers will not display any text until the font has been loaded.
    So this would mean you’re using a function or a plugin that is adding the display=swap property to your fonts. Which tells the browser to use it system font whilst waiting for the font to load.

    Its not a theme related issue. Just the way web fonts are loaded.

    If you don’t want to see the Sans font loaded first then disable whatever function is adding the display=swap attribute.

    I

    Thread Starter tonyz111

    (@tonyz111)

    Thanks for reply! I’m using WP Rocket plugin which is adding display=swap for Google fonts.

    • This reply was modified 3 years, 5 months ago by tonyz111.

    Glad to be of help

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open Sans Font Problem’ is closed to new replies.