Hi, sorry if this is the wrong place to post… wasn’t sure where it would fit best. My homepage displays article snippets from different categories. The category name is shown right about the snippet. I would like to give each category it’s own class so that I can give just the name that displays on each snippet different colors.
So for example I have the Category/Name “Breaking” and a Category/Name “NBA”. On the pages that show the snippets and cat name, I would like “Breaking” to be blue and “NBA” to be red.
How to I assign different CSS classes for each of my categories?
- The topic ‘How to I assign different CSS classes categories' names?’ is closed to new replies.