XenForo .is-selected, how to?

O

Old Nick

Guest
I made a custom menu, and I would like when I click on one of the menu links and land on the page the link is in bold. I'm tinkering with some syntax stolen from the members menu but I can't adapt it to my configuration.

What should I replace XXXXXXX with for it to work?
HTML:

<a href="/documents/?prefix_id=4" class="blockLink {{ $pageSelected == 'XXXXXXX' ? 'is-selected' : '' }}">Menu A</a>

In extra.less
Less:

Code:
[data-widget-key="resource_filter"] {
    a.blockLink.is-selected {...

Read more

Continue reading...