• Nvsh

    (@nithushan)


    when i changed the post h1,h2 ,body font . Font kept flipping . How do i fix this situation? “ pt serif”

    I think google font have issue while loading.can you tell me a solution

Viewing 8 replies - 1 through 8 (of 8 total)
  • catacaustic

    (@catacaustic)

    What do you mean by “flipping”?

    Thread Starter Nvsh

    (@nithushan)

    Font switch default font to my font.

    Moderator bcworkz

    (@bcworkz)

    To better help you, we’d need a link to a page demonstrating the issue you face.

    catacaustic

    (@catacaustic)

    That sort of “flipping” means that your web font files are not loading until after your sites content does. The default font is shown because that’s what’s available, and the browser switches to the actual font after it’s files are loaded.

    As bcworkz said, the only way to diagnose this is to see how it’s set up on your site, so we would need a link.

    Thread Starter Nvsh

    (@nithushan)


    i need to fix this font flipping issue h1,h2, body font etc. please check my url and let me know.

    https://192-46-223-123.ip.linodeusercontent.com/what-is-life-insurance/

    • This reply was modified 2 years ago by Nvsh.
    • This reply was modified 2 years ago by Nvsh.
    catacaustic

    (@catacaustic)

    What I said still is correct. Your site is loading and displaying before the font files are loaded. You’re also requesting a lot of font files at the same time, so it will take a while to get them – even from Google Fonts.

    WebFontConfig['google'] = {families: ['Raleway:100,200,300,400,500,600,700,800,900', 'Playfair+Display:400,700,900,400italic,700italic,900italic']};
    

    I’d suggest looking for some Google Font resources. I’ve found these with a very quick search.

    https://sia.codes/posts/making-google-fonts-faster/

    https://stackoverflow.com/questions/4712242/wait-for-fonts-to-load-before-rendering-web-page

    Thread Starter Nvsh

    (@nithushan)

    how to fix this issue. i only need to request Pt serif font family. how do i change it on my site,please help me to solve this issue.

    catacaustic

    (@catacaustic)

    Then just remove the other fonts. Without knowing how they are added we can’t help you any more then that.

    If they are added by your theme, ask i n the themes support forum.

    If they are added by a plugin, ask in the plugins support forum.

    There is most likely something in your admin area that allows you to manage fonts. But you really need to look for these things yourself.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Font fliping issue’ is closed to new replies.