Twenty Eleven h2
-
I want to add color to h2. When I make the change
h2{
color: ##5d8ebf;
}
in the cascading style sheets code, it doesn’t appear.The blog I need help with is: (visible only to logged in users)
-
-
In this case, the Twenty Eleven theme has a more specific CSS rule with the selector “.entry-content h2” and so just using h2 as in your example above probably won’t work. To get around that, just use a more specific rule to match the one in the theme already:
.entry-content h2 { color: #5d8ebf; }Note that if you want to change an h2 somewhere other than a post or page’s content area, you may need to adjust the selector. If you still need help, reply back with a link to a page from your blog with an h2 on it and mark this thread as “not resolved.”
- The topic ‘Twenty Eleven h2’ is closed to new replies.