[Resolved] Different CSS Based on Category
I’m wondering how to make a title of a post have different CSS based on what category it’s in… or, better yet, if it’s a sub-category or not.
So, I have a post.
Title: This Post
Category: Main Cat
This post would have an orange title using a serif font.
Then I have a second post.
Title: Second Post
Sub-Cat is a sub-category of “Main Cat”. “Main Cat” is its parent category in other words. So, “Second Post” would have a green title in a sans-serif font.
Is this fairly easy to do?
- The topic ‘[Resolved] Different CSS Based on Category’ is closed to new replies.