Originally posted by Matt Zimmermann
View Post
Announcement
Collapse
No announcement yet.
Primary Navigation not acting right
Collapse
X
-
-
Hi Leslie,
If I remember correctly, the upper navigation is designed to be triggered by the link being to the category page, the all categories page, or the product list page. Then, you would place your categories under that which would show in the drop-down. Any other link you add to the navigation, at the top level, would be placed below.
Leave a comment:
-
Primary Navigation not acting right
If I understand how the cmp_primary_navigation is coded, any navigation link that is a category "should" appear in the upper navigation
Code:<mvt:if expr="l.settings:navigationitem:link_dest CIN 'CLST|CTGY|PLST'">
Code:<mvt:if expr="NOT ISNULL l.settings:readytheme:navigationitems"> <mvt:foreach iterator="navigationitem" array="readytheme:navigationitems"> <mvt:if expr="l.settings:navigationitem:link_dest CIN 'CLST|CTGY|PLST'"> <li class="color--white"> <mvt:if expr="NOT ISNULL l.settings:navigationitem:items"> <input id="l-&mvt:navigationitem:id;-toggle" data-toggle type="checkbox"> <label for="l-&mvt:navigationitem:id;-toggle">&mvt:navigationitem:name;<span class="icon--chevron-down"></span></label> <ul> <mvt:foreach iterator="navigationitem_level2" array="navigationitem:items"> <li class="color--white">&mvt:navigationitem_level2:link;</li> </mvt:foreach> </ul> <mvt:else> &mvt:navigationitem:link; </mvt:if> </li> </mvt:if> </mvt:foreach> <li><hr class="border--secondary"></li> <mvt:foreach iterator="navigationitem" array="readytheme:navigationitems"> <mvt:if expr="NOT (l.settings:navigationitem:link_dest CIN 'CLST|CTGY|PLST')"> <li class="color--secondary"> <mvt:if expr="NOT ISNULL l.settings:navigationitem:items"> <input id="l-&mvt:navigationitem:id;-toggle" data-toggle type="checkbox"> <label for="l-&mvt:navigationitem:id;-toggle">&mvt:navigationitem:name;<span class="icon--chevron-down"></span></label> <ul> <mvt:foreach iterator="navigationitem_level2" array="navigationitem:items"> <li class="color--secondary">&mvt:navigationitem_level2:link;</li> </mvt:foreach> </ul> <mvt:else> &mvt:navigationitem:link; </mvt:if> </li> </mvt:if> </mvt:foreach> </mvt:if>
Tags: None
Leave a comment: