Welcome! To use this support forum, please Login or Join Today!

   

Customize “.post” css for only blog post

{name}
Rank

Total Posts: 9

Joined 2012-03-22

PM

 

Hello,

I would like to customize the CSS for the “.post” css, but only impacting the blog posts (and not the rest of the site which also uses the .post from master.ccs.

How would I tell blog posts to use something other than .post (.post_blog?), so that the rest of the site doesn’t change?

Thanks,
Doug

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

You can add any custom rules for your pages based on the body class.

body.blog .post { color:red;}