Active state not working for added links in the sidebar component

Hello, I’m adding some categories as individual links to the top of the Discourse sidebar, but when I click on these links, unlike other native links in this component, the CSS active state does not work for single links or section links. Since the active state isn’t functioning, visitors can’t determine which page they are viewing. Is there a way to fix this?

Active state working:
image

Active state not working
image

2 Likes