• Resolved rondenbesten

    (@rondenbesten)


    Is it possible to highlight the current item?
    Maybe with adding a class active to the current item?

    Update: I see the placeholder %is_active% which can be used in a custom template. Brilliant

    • This topic was modified 3 years, 11 months ago by rondenbesten.
Viewing 1 replies (of 1 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @rondenbesten,

    Glad to hear you’ve figured it out. Yes, that’s correct, if you are using “Custom” template, then you can use %is_active% placeholder – it will output active for the current category. So you can use it something like this:

    
    <a href="%category_link%" class="%is_active%">%category_name%</a>
    

    P.S. Placeholder is available in the “Archives” section only.

Viewing 1 replies (of 1 total)
  • The topic ‘Hihglight current item with class active’ is closed to new replies.