Archived topic
Adding a font locally
5 replies · Started by Tomasz on April 8, 2021
delete post
Hi there,
Looking at your @font-face code, it doesn't look like the font files exist on the specified URL path.
You should correct these URLs so they point to the correct path.
You'll know it's correct if you paste the URL on your browser and when you try to visit, a font file downloads.
I've checked all of them and none of the URL links seem to be pointing to any font file.
delete post
Hi there,
you have spaces in your PHP snippet that should not be there.
Make sure the snippet is copied from this article - and just update the font name:
https://docs.generatepress.com/article/adding-local-fonts/#adding-it-to-the-customizer
now it is working :-)
glad to hear that!