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

    I’m stuck and looking for solution. Here is the problem: I would like to have the unique ID name for each UL in Wayfinder menu.

    This is how I want my code to look in the end:

    <ul id="nav1">
    <li><a href="#">href1</a></li>
    <li><a href="#">href2</a></li>
    <li><a href="#">href3</a>
    <ul id="nav2">
    <li><a href="#">submenu href1</a></li>
    <li><a href="#">submenu href2</a></li>
    </ul>
    </li>
    <li><a href="#">href4</a></li>
    </ul>


    I can do it manually, but I want to make it using Wayfinder. I’ve tried to play with outerTpl snippet, but if I put ID it becomes the same for each UL in menu. I’ve messed with Wayfinder class as well, but couldn’t find a solution as well. Particularly I’m looking for any way to add any number or symbol to ID name, so that it will be unique.

    Thanks in advance.

    BTW: I’ve tried to write Kyle via his website http://muddydogpaws.com/, but couldn’t send a message smiley
      • 27592
      • 2 Posts
      Okay, I’ve searched the forum and found the innerTpl chunk that solves my problem, sorry.