We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21013
    • 2 Posts
    I’ve got this code at the moment:

    <div id="avmenu">
    <h2 class="hide">Site menu:</h2>
    [!DropMenu? &selfAsLink=`1` &useCategoryFolders=`0` &startDoc=`0` &hereClass=`current`!]
    </div>

    which does the job fine, except now there is a demand for submenus and I need to attribute a new <div> or style to the sub navigation items.

    So I probably need something like this:
    <div id="avmenu">
    ...
    <div id="submenu">
    ....
    </div>
    </div>


    What’s the best way to proceed?
      • 7923
      • 4,213 Posts
      Get Wayfinder snippet and use innerTpl and outerTpl


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 16885
        • 255 Posts
        Personally I’d suggest using the ul’s of these submenu’s, simply because it saves code, as far as I know it doesn’t matter much wether you style a div or an ul element, both are blocks.