I would like to apply a class to my startItem but ONLY when it is selected. Right now I can either set the class when it/any children are active, or nothing at all. I’m sure there’s an easy way around this but I haven’t stumbled on it yet.
I’ve tried setting both &hereClass and &selfClass with the same results. When viewing the parent page, it works great! But any children page set the "active" class both on themselves
and the parent - I just want it on the child.
Desired Output
<!-- class "active" should be applied to one and ONLY one <li> at a time -->
<ul id="secondary-nav">
<li><a href="#">Parent</a></li> <!-- id of 2 -->
<li><a href="#">Child 1</a></li>
<li class="active"><a href="#">Child 2</a></li>
<li><a href="#">Child 3</a></li>
</ul><!-- /#secondary-nav -->
Actual Output
<ul id="secondary-nav">
<li class="active"><a href="#">Parent</a></li> <!-- get the "active" class off of me! -->
<li><a href="#">Child 1</a></li>
<li class="active"><a href="#">Child 2</a></li>
<li><a href="#">Child 3</a></li>
</ul><!-- /#secondary-nav -->
Wayfinder Call
[!Wayfinder? &displayStart=`true` &startId=`2` &selfClass=`active` &startItemTpl=`nav_startItemTpl` &outerTpl=`nav_outerTpl` &rowTpl=`nav_rowTpl` !]
nav_startItemTpl
<ul id="secondary-nav"><li[+wf.classes+]><a href="[+wf.link+]">[+wf.linktext+]</a></li>[+wf.wrapper+]
nav_outerTpl
[+wf.wrapper+]</ul><!-- /#secondary-nav -->
nav_rowTpl
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a></li>
I’d love to hear any advice! I found a few threads of people having the
opposite problem - which would be right for me - so I’m not sure what’s wrong here.

Thanks!