ads1018
Member
Posted 2 years ago #
Hey guys,
I'm having a problem. I'm using the class 'current-cat' to highlight one of my category links so the viewer knows what category they're viewing after they click it and it works great. However, when I'm in single post view under that same category it's no longer highlighted.
How do I retain the current-cat styling while I'm in single post view? Any suggestions?
ads1018
Member
Posted 2 years ago #
I've deduced that I'll have to use WordPress fairly new 'body_class' feature. However, I'm not quite sure how to target page templates in the CSS.
ads1018
Member
Posted 2 years ago #
Okay nvrmind I got it down.
signyourbikeout
Member
Posted 2 years ago #
I'm interested in this exact thing right now, how did you do it?
Thanks
Tell us what you did. If not, this is a useless topic.