Ahoy,
So I’m adding a custom font to enfold using a child theme and need some help. Does this tread work https://kriesi.at/support/topic/custom-webfont-for-child-theme/ ?
Do I add the font folder in the child theme? and what code do I put in the css?
Hey mcraig77,
Yes following that thread might work out for you, what font are you trying to add? Where did you upload it to?
Best regards,
Rikard
Ahoy,
I uploaded the fonts to a child theme here (private area). The font is called Tiempos Headline Black Italic. What is the next step on my end?
Hi,
Please refer to this: http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp. Replace the URL in the example with the full URL to your font.
You can then use it like this for instance:
<p style="font-family:'Your font', Arial, Verdana;">
Your text
</p>
Regards,
Rikard
Ahoy,
Hmm…
I would like all the headers to be this new font on my site.
Is this what I add to add the font in the quick css?
@font-face {
font-family: myFirstFont;
src: url(https://www.keensocial.com/wp-content/themes/enfold-child/fonts/WebFonts/TiemposHeadlineWeb-BlackItalic.woff);
}
and how do I make this the headers?