Archived topic
using font squirrel and fontawesome locally
1 reply · Started by mmarvel on May 7, 2018
Hi.
To speed up my pagespeed I'm looking to load my fonts locally but wanted to know how to get GP Premium to recognize them. I've downloaded the font squirrel font into a font folder in my generatepress child theme. I then modified the child theme style sheet as follows for the font
@font-face {
font-family: 'LinguisticsPro-Bold';
src: url('wp-content/themes/generatepress-child/fonts/LiquisticsPro-Bold.otf');
font-style: inherit;
font-weight: inherit;
}
Now I'm wondering how to select it in GP premium plugin. Is there a way to do that?
Hi there,
This should help: https://docs.generatepress.com/article/generate_typography_default_fonts/
Let me know.