Archived topic
How to add a custom font
3 replies · Started by Michelle on February 21, 2022
I am using System Stack to speed up my site. I just had a font made of an ancient language, and want to add it. I don't want viewers to have to install the font. How can I achieve this?
Hi Michelle,
You can achieve this by hosting your font locally.
Kindly see this for reference: https://docs.generatepress.com/article/adding-local-fonts/
Moreover, here is a thread were Tom explains how to use different fonts for specific languages if you also wish to do that: https://generatepress.com/forums/topic/different-font-for-each-language/
Hope these help! Feel free to reach out if you have any further questions! :)
Does this work with System Stack? I uploaded the zipped font file directly to the theme (I don't use a child theme), and it isn't showing up as it should. It is an ancient Hebrew font
It should work with System fonts, but hosting your fonts locally in your website won’t mean that it will become a system font. It’ll just mean that, “hosting fonts locally in your website”.
As for the credentials, I believe the username is missing?
Can you double check if you’ve followed the steps here?: https://docs.generatepress.com/article/adding-local-fonts/
Specifically, were you able to do this too?: https://docs.generatepress.com/article/adding-local-fonts/#using-font-face
Kindly let us know how it goes. Hope to hear from you soon. :)