Different CSS for each category page?
-
My wife’s blog (https://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.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Different CSS for each category page?’ is closed to new replies.