Site logo

[Support request] Local fonts and child theme

Home Forums Support [Support request] Local fonts and child theme

Home Forums Support Local fonts and child theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2119499
    Jenny Dupuy

    Hi,

    I want to add local fonts (Google fonts but also other fonts).
    For the moment I don’t have a child theme, I just added some css lines in the Additional CSS in the Customizer, and I use two elements to slightly modify the header of some pages.
    I wanted to know if for adding local fonts, it is necessary to create a child theme or if there is another way?

    Thanks for the help.

    #2119730
    David
    Staff
    Customer Support

    Hi there,

    personally i always use a child theme for local fonts – however this doc explains how you can store the fonts in the Media Library without using a child theme – see here:

    https://docs.generatepress.com/article/adding-local-fonts/#uploading-our-font

    #2120044
    Jenny Dupuy

    Hi,

    Personally I prefer to store the fonts elsewhere than in the media library so I will rather make a child theme.

    It’s this sentence (Note: If you’re comfortable with uploading files to your server via FTP, you can skip this step and simply upload your font files to your child theme.) in https://docs.generatepress.com/article/adding-local-fonts/#uploading-our-font that put me in doubt, I had the impression that we couldn’t do otherwise.

    Thanks for the quick answer, as usual it’s nice.

    #2120130
    David
    Staff
    Customer Support

    Glad to be of help!

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