Tagged: Child theme, CSS
I created a custom css class for a h2 header to be used in the articles, but the style is not applied.
this is the customized h2 class added in the child theme style sheet:
font: 20px/24px ‘Raleway’, Georgia, Helvetica, sans-serif;
and this is the html that I put in the article:
<h2 class=”blog”>Test style intestazione</h2>
I do not understand because it is not applied.
I’ve added “!important” to your code attributes.
Clear browser cache and check your style now.
Ok, now it works, I thought that those rules in the child theme style.css had precedence over everything. Apparently I was wrong.
The topic ‘Style css in the child theme’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
Seems you did not register purchase code for WooPress WordPress Support Forum to be able to create a topic on this forum.