CSS Only Selecting Certain Classes
- by Greg
Hi I'm working with a Wordpress template. I have a separate template page for the blog section. On the other pages of the site I have class that works fine and looks like this
.post header h2 { display:none; }
On the blog page, I add this to the CSS and it works as it should
#main .post header h2 { display:block; }
However if I try that with other classes like
#main .wrapper { background-color:#000000; }
Nothing happens. I've tried adding !important, I've also tried writing like such
body.page-id-15 #main .wrapper { background-color:#000000; }
with no luck. Here is a link to the site. http://gregtregunno.ca/news