I’m adding extra content to the home page on a WordPress theme (Pitch) and most of my custom CSS works – everything except any styles I added to ‘.entry-content’. I checked the theme’s style.css and still, none of the ‘.entry-content’ styles are displaying.
For example, I use this code and anything within < h1 > looks the same as if it were body text:
.entry-content h1 {
font-size: 1.8em;
}
Is there a way to fix this that I’m not thinking of?
After checking the theme styles, I discovered that the theme I was using actually had it’s own !important declarations that were overriding my code.