[Resolved] Custom Fonts Not Working After Update

Home Forums Support [Resolved] Custom Fonts Not Working After Update

Home Forums Support Custom Fonts Not Working After Update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1475779
    Kumari

    Hi There

    I’ve just updated my site to the latest version and my custom fonts are no longer working.

    I have previously followed all your steps as set out here: https://docs.generatepress.com/article/adding-local-fonts/

    And it has been working perfectly since May.

    Please assist. Thank you in advance

    #1475872
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Your @font-face CSS is pointing towards font files in the parent theme. When you update the parent theme, WordPress removes the folder and uploads the fresh folder.

    You need to upload your font files to a child theme (https://docs.generatepress.com/article/using-child-theme/), then update your CSS to point to them in the child theme instead of the parent theme.

    Let us know if you need more info πŸ™‚

    #1475903
    Kumari

    Thank you for your prompt response. I have added the font files to my Font folder in the Cpanel. It still does not show custom fonts. I have no idea how to set up the Child Theme

    *Update: I now see that I needed to add ‘assets’ to the url. Resolved.

    Thank you so much πŸ™‚

    #1476914
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

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