Different CSS for each category page?
My wife’s blog (http://www.popularstranger.com) has different categories, and she’s used MS paint to draw up different backgrounds for each of her categories (links, paint-ings, photos) that I’ve setup as different stylesheets. I’m thinking a php if statement at the beginning of the index.php to choose the stylesheet using $cat would work, but I’m new to php. How do I code in php
If category = links, then links.css; if category = paint-ings, paint-ings.css, if cat=photos then photos.css, and for everything else this.css?
thanks for the help. I think most communities would be annoyed with all the refugees but the WP community has risen to the occassion. kudos.
- The topic ‘Different CSS for each category page?’ is closed to new replies.