Hi, all
Is there any article for implementation of custom webfont for latest releases??
Thanks
w
wbermudo
06/04/2020, 12:58 AM
you can use the theme’s assets for custom fonts and a few tweaks on sass files to make this work. You can also import google fonts.
s
Saikrishna macha
06/04/2020, 3:11 AM
I've tried in that way, but its not working
it's showing warnings in browser console like
Failed to decode downloaded font: links to font file woff,ttf,woff2
OTS parsing error: incorrect file size in woff header like this
w
wbermudo
06/04/2020, 1:41 PM
should be:
theme > assets > font > your-font-files-here, in my case I added the eot, svg, ttf, woff and woff2 version of the font. And use @font-face to declare them.