Specific classes for category badges


(Adam Capriola) #1

I would like to use background images for my category badges (the solid colors bother me when I have a bunch of categories and can’t come up with a harmonious color scheme), but it looks like there isn’t a way to target specific category badges with CSS.

It would be nice if maybe the link class also included category-ID or category-NAME so category badges could be specifically targeted.


(Sam Saffron) #2

Sure, we support this. Care to try a PR to add this, its actually fairly simple to change.


(Adam Capriola) #3

Sure, I will give it a try sometime soon. The other option, which would be more complicated, would be to have an “add styling” option on the “edit category” display. This might be better than adding a class for CSS targeting, because then the styling would carry over to the email digest.