Dear enfold support team,
i have added an extra class for h2 liked this. Everything works well except for the font-family. The browser doesn`t display my font-family.
.custom-title-home h2{
text-shadow: 1px 2px 8px rgba(0,0,0,1)!important;
font-size: 50px!important;
padding-bottom: 25px!important;
font-family: “Salsa”,”Helvetica Neue”,Helvetica,Arial,sans-serif!important;
}
Hey vnfan,
How and where are you importing the salsa font? It’s picking the second font in your CSS so there must be something wrong with your import.
Thanks,
Rikard
if you don’t use this Salsa Font on Enfold Options Dialog “Fonts” or on advanced styling by setting up a rule for any element with that font. This font isn’t automatically activated for the site like this in the head area:
<link id="avia-google-webfont" media="all" type="text/css" href="//fonts.googleapis.com/css?family=Raleway%7COpen+Sans:400,600%7CSalsa" rel="stylesheet">
this code is missing till you do that mentioned above
you can do that by setting up any element (f.e. h6 or even all h2) with Salsa Font.
After that you can use Salsa Font in quick css.
(or activate the font via functions.php of your child theme)
Hey!
This link might also help: http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Regards,
Ismael
Hi everyone,
thanks so much. I have understand the principle. We can close this topic now.