RSS Feed/News .is-selected, how to?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,993
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top