I’m trying to create a class for a script font to override the site’s usual Open Sans. I’d like to apply the class .script
to all different heading types, potentially. But at this point, I can not get it to appear! I was successful in adding other classes.
For example, I added this to CSS under customizer. Applied the class in the class field within a text box, and it worked.
.services, x-text-type {
font-size: 1.75em;
font-weight: normal;
line-height: 50px;
color: #414042;
}
Now I’d like to add this to apply to text as well.
.script {
font-family: 'DancingScript' !important;
}
It’s not working! I was able to apply script using the ‘styles’ field, but I’d rather use classes to be more consistent and be able to change text even within the same headline.
http://dev.nutrition-connection.com/
Please let me know if you have suggestions!