• Resolved ads1018

    (@ads1018)


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ads1018

    (@ads1018)

    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.

    Thread Starter ads1018

    (@ads1018)

    Okay nvrmind I got it down.

    Paul Wright

    (@signyourbikeout)

    I’m interested in this exact thing right now, how did you do it?

    Thanks

    Jenst

    (@jenst)

    Tell us what you did. If not, this is a useless topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Current-Cat in Single Post View’ is closed to new replies.