Hi!
I’m trying to build a menu for items of a folder and have a documtent strukture like this:
Doc 1
Doc 2
*Doc 2_1
*Doc 2_2
*Doc 2_3
Doc 3
.
.
I want to have a menu that only apperars when you are on Doc 2 and in this menu you should see just this as an unordered list:
Doc 2
Doc 2_1
Doc 2_2
Doc 2_3
I managed to create the menu using wayfinder and the &displayStart=`true` and used this as &startItemTpl
<div[[+wf.classes]]>
<ul style="display:inline"><li [[+wf.classes]]><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a></li><br />[[+wf.wrapper]]
</ul>
</div>
my problem now is that the first Element (the parent) of my menu is always active no matter where i am in my menu. I tried setting a hereClass but this didn’t help me because the parent element is still always active. Is there a possibility that this item is not always active so i can style the active element with css properly?
Any help would be highly appreciated!
Thanks!