[Support request] Actual fonts Doesn’t Load at the first attempt

Home Forums Support [Support request] Actual fonts Doesn’t Load at the first attempt

Home Forums Support Actual fonts Doesn’t Load at the first attempt

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2364253
    Pradeep

    Hello Folks,

    I have a technical blog ‘www.linuxtechi.com’. I have locally downloaded the nunito fonts on the server itself. But when I try to browse any page for the first time then it is not loading the nunito fonts and after reloading the same page then it loads nunito fonts.

    Ask is why it is not loading these fonts at first attempt.

    Regards,
    Pradeep Kumar

    #2364425
    Jean Paiva
    Developer

    Hello Pradeep,

    Have you followed the documentation on how to add local fonts?

    Here’s the documentation https://docs.generatepress.com/article/adding-local-fonts/

    #2364681
    Pradeep

    Hi Jean,

    I have referred the same doc step-by-step. Interesting point is that when I refresh a page then only it loads newly added fonts.

    Regards,
    Pradeep Kumar

    #2364774
    Fernando
    Customer Support

    Hi Pradeep,

    Can you try temporarily disabling caching/optimization plugins, and then test again for the occurrence of the issue through Incognito mode?

    #2366720
    Pradeep

    Hi,

    I am using cloudflare and ezoic caching for my blog. After clearing cache from both the components, still no change in the behavior.

    Regards,
    Pradeep Kumar

    #2367009
    David
    Staff
    Customer Support

    Hi there,

    in your @font-face CSS chnage the font-display: optional; to font-display: auto;

    #2367436
    Pradeep

    Thank you David!! and team. It works now!!

    #2367623
    David
    Staff
    Customer Support

    Glad to hear that

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