Recent searches
No recent searches
Custom font not showing
Answered
Posted Jul 07, 2021
Hello!
Im new to Zendesk and I am trying to use a custom font.
I have added the fonts in the assets folder, made a @fontface in css file and preload the fonts in head. What am I missing here?
In network in DevTools I can see the fonts are downloaded. And I can see text have my text has right font-family, but it is not showing.
Thank you in advance // Evelina
0
4
4 comments
Ifra Saqlain
DevCore,
You have uploaded the font files to the assets folder, made CSS for @font-face and map font-family to the <h> tags and body. So now -
Once, try to update your @font-face CSS code:
and then check in the application tab under inspect tool:
also you can check this way:
Thanks
Team
0
DevCore
@... Thank you for your comment!
Do I need a TrueType Font file for it to work? I do not have it, only woff and woff2.
I have the font and the diffrent fontweights in the application tab.
And it also gets the font family name:

Thanks
0
Ifra Saqlain
Hi,
Please have a look at this chart:
https://caniuse.com/woff
0
DevCore
Ifra, thank you
I am using Chrome 92, should be working.
0