We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20364
    • 89 Posts
    Hi all..

    I am struggling with finishing my navigation in Wayfinder. My markup is supposed to look like this:

    <ul>
    <li class="topBar"></li>
    <li class="firstLI"><a href="#" class="dropdown_links">Li Number 1</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li><a href="#/" class="dropdown_links">Li Number 2</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li><a href="#" class="dropdown_links">Li Number 3</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li class="lastLI"><a href="#" class="dropdown_links">Li Number 4</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li class="bottomBar"></li>
    </ul>
    


    My actual markup coming from Wayfinder looks like this:

    <ul>
    <li><a href="#" class="dropdown_links">Li Number 1</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li><a href="#/" class="dropdown_links">Li Number 2</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li><a href="#" class="dropdown_links">Li Number 3</a></li> 
    <li><div class="dropdown_div"></div></li>
    <li><a href="#" class="dropdown_links">Li Number 4</a></li> 
    <li><div class="dropdown_div"></div></li>
    </ul>


    with this call:

    [[Wayfinder? &startId=`2` &level=`1` &displayStart=`true` &startItemTpl=`global_topnav_sub_startitem` &rowTpl=`global_topnav_sub_child`]]


    I am having trouble figuring out how to

    a) get the blank <li> tags to appear as part of the Outer of the Inner (did that make sense?) without having them repeat in each child

    b) affix the "firstLI" and "lastLI" to the <li>’s in that list. Not having success with &firstClass and &lsatClass

    Thanks in advance,

    J