Home Forums WoodMart support forum Ensure text remains visible during web font loading

Ensure text remains visible during web font loading

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #400650

    famibuy
    Participant

    Hi, there

    I’m using the CUSTOM FONTS, and i disabled the google fonts using the plugin “Perfmatters”.
    But, I still see the message”Ensure text remains visible during web font loading”, please see the attached pic.
    Please tell me how can i do it next to fix it.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #400682

    Luke Nielsen
    Keymaster

    Hello,

    The thing is that you need to add for the font’s name some prefix (e.g -local).

    https://gyazo.com/7a3962bea54c1ef08944aaf70a9b2b5c

    The names should not be the same as API Google fonts have therefore a prefix fixes this issue.

    Feel free to reach out to me anytime when you have anything more to say.

    Kind Regards

    #400691

    famibuy
    Participant

    Did you see the attached pic, i have change de name,
    and, now i changed to “lato-regular”, but, still the same.

    #400692

    famibuy
    Participant

    Did you see the attached pic, i have change de name,
    and, now i changed to “lato-regular”, but, still the same.

    #400702

    Luke Nielsen
    Keymaster

    Hello,

    The “font-display for Google Fonts” option works for google fonts and for custom fonts as well, this option is called incorrectly so in the next update we will fix it. In order to fix your issue, you should set the “Swap” value for the “font-display” for Google Fonts option.

    https://prnt.sc/nWzn_EIgfvMi

    Don’t hesitate to let me know if you need further help or other info.

    Kind Regards

    #400704

    famibuy
    Participant

    I did it, but, still, and i also cached.
    And what is the next?

    Attachments:
    You must be logged in to view attached files.
    #400828

    Luke Nielsen
    Keymaster

    Hello,

    In this case, is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?

    I await your response.

    Kind Regards

    #400836

    famibuy
    Participant

    OK, please see it.

    #400851

    Luke Nielsen
    Keymaster

    Hello,

    1. We have enabled the “Swap” value for the “font-display” for Google Fonts option in Theme Settings -> Performance -> Font and Icons.

    https://prnt.sc/Dqxlw8iytkwh

    2. After it we have cleared the cache on your website.

    https://prnt.sc/c24q7JECTFTI

    3. As a result, in the page speed “All text remains visible during Webfont loads” marked as done (PASSED AUDITS).

    https://gyazo.com/9061ed0f68b213c253103383839f366f

    Kind Regards

    #400856

    famibuy
    Participant

    I see it, Thank you very much.
    Love you !
    And have always the goooood day!!!!!!

    #400859

    Luke Nielsen
    Keymaster

    Hello,

    I’m glad we managed to sort this out.

    If there’s anything you need, please write me or another member of our help desk team.

    We’re here for you!

    Kind Regards

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

The topic ‘Ensure text remains visible during web font loading’ is closed to new replies.