Styling categories classes
-
If I have multiple categories assigned to a post, I’d like to be able to style each category link individually. For some reason, WordPress doesn’t assign individual classes to the categories. By using the ‘<?php the_category’ tag all the class names get clustered into one like this:
<div class=”post-253 post hentry category-devils category-nets”
Any ideas on how to target each category class?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Styling categories classes’ is closed to new replies.