Site logo

Archived topic

Local fonts and child theme

3 replies · Started by Jenny Dupuy on February 15, 2022

Viewing posts 1–4 of 4

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.

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.

Glad to be of help!

This archived topic is closed to new replies.