Archived topic
@font-face rules for adding custom font
4 replies · Started by Kerit on February 1, 2021
Hi,
I'd like to add a custom font that is not hosted of Google Fonts.
It's called Equity. I uploaded it on my website.
But could you help with the @font-face rules please?
The tool you provide in your doc doesn't apply to my case (i.e. not a google font)
thanks!
Also, do I need to create a child theme?
Hi there,
theres several tools online that do the @font-face generation ( and webfont conversion ) for you - like this one:
https://www.fontsquirrel.com/tools/webfont-generator
I would recommend using a Child Theme... and then make sure you update the URLs in the @font-face CSS.
OK perfect, thanks a lot!
You're welcome