Hi,
I am trying to keep
class="active" on my main navigation whilst I am visiting a sub-page/child of a section.
To expand, I have a top level page called "Fitness" in my main nav. This page has a number of sub-pages but when you visit one of them, "Fitness" in the main nav looses itβs
class="active".
I have friendly URLs with the alias path enabled so my urls look like:
mydomain.com/fitness/fitness-programming
My Wayfinder call for the main nav looks like:
[[Wayfinder? &startId=`0` &level=`1` &hereTpl=`tplNavActive` &excludeDocs=`1` ]]
tplNavActive looks like:
<li>
<a class="active">[+wf.linktext+]</a>
</li>
Any help would be much appreciated.