Changing font of h2 widget-title
-
I am having difficulty changing the font family of one specific element of my theme, the h2 widget-title which is continuing to display the theme font despite my attempts to force it to accept my child theme custom font. The custom font is set in the body tag and is displaying correctly everywhere else on the site. This is my css:
body{
font-family: ‘Libre Baskerville’, serif!important;
}
h2 .widget-title {
text-transform:lowercase;
color:#999999;
font-family: ‘Libre Baskerville’, serif!important;
}
All other text in my theme is accepting the body font. The h2 widget-title is accepting the custom colour and text-transform styles but weirdly I cannot change the font.
In developer tools it suggests this element is to blame:
::-moz-placeholder {
color: #333;
font-family: “Libre Franklin”, “Helvetica Neue”, helvetica, arial, sans-serif;
opacity: 1;
So I also changed this in my child theme styles.css, but to no avail.I’m flummoxed by this…can anyone offer an explanation of where I am going wrong?
Many thanks,
The page I need help with: [log in to see the link]
- The topic ‘Changing font of h2 widget-title’ is closed to new replies.