[Resolved] Flicker to custom font

Home Support TotalPress Flicker to custom font

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Donny Miner 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #84780

    Hey Thomas,

    I have noticed upon initial page load the fonts (Mainly the heading fonts) will start with the default font then flicker to the custom font.

    I can fix the issue by using the Autoptimize plugin… But would you have a better/different solution to the FOUT issue if there is one?

    #84904

    Thomas
    Founder/Lead Dev

    Hi there,

    Yes there is a flicker because your server has to load the scripts. This is coming from the Kirki plugin. You can read about the issue that was opened here: https://github.com/aristath/kirki/issues/1725

    And yes the Autoptimize plugin helps because it basically caches it for you so it doesn’t have to load every single time.

    When you go into the TotalPress customizer options fro any of the typography controls you will see the following:

    Download font-family to server instead of using the Google CDN.

    This makes it a little faster.

    Hope this helps.


    #85073

    Thanks Thomas…

    Yep, By selecting download font-family to server works for me!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.