I would like to apply a unique style to the titles of my blog posts, based on the topic of the post. For example, the title of a post on economics might have a green background and the title of a post on politics might have a blue background. I know that I can apply the same CSS style to all of the <h2> blog titles by adjusting the #content .entry-title but that applies the style everywhere. Is it possible to vary the style of the blog titles for individual posts?
I tried to access the html while editing the post to give the <h2> blog title a unique ID that I could then reference in the CSS, but I could only access the contents of the post and NOT the title of it. Bummer. If anyone has any CSS ninjitsu up their sleeve, I'd appreciate any advice. Thanks a bunch, Oscar
If it matters I am using the 2010 theme.
The blog I need help with is infodis.wordpress.com.