Okay here it is
a:active is when you have the mouse button pressed on the link, that changes the button state "on click".
a.active is an anchor with the class of ’active’.
-
☆ A M B ☆
- 872 Posts
Wayfinder does not load any javascript automatically, and the browser can’t add any class without manual javascript.
Do you have any javascript loaded along side your wayfinder call to allow the appending of your .active class ?
-
☆ A M B ☆
- 872 Posts
I’ve looked at the link, the active class only appears only if the link is clicked, not on hover.
I may have misunderstoood your issue to begin with.
Edit; I’ve looked at your site, and the active class is also added on click on the li.
I never had an issue. The question was to create a "current" state. Not an on click nor a hover.
-
☆ A M B ☆
- 872 Posts
oh... So it’s working then ?