I’m trying to figure out how to style the category links with different colours. I’m using the post_class function to generate dynamic classes – which works fine when only one category is assigned to a post – but when two or more categories are assigned the links inherit the classes and get the same styling.
How can i separate the classes so that each category link has a unique css style?
Here’s a link to a screenshot which hopefully illustrates what the heck I’m going on about 🙂
Any help is greatly appreciated!
- The topic ‘Styling category links differently’ is closed to new replies.