Support » Theme: Twenty Twenty-One » Secondary Menu with Custom Link top not working

  • (My test site is not on line – using LAMP)
    I added a secondary menu and the top level is “Members Area” with a custom link of simply #, exactly as I have for my main menu.
    When I hover the mouse over it, it looks like a regular menu link. The sub menus do not appear in a drop down. Clicking on it takes me to the same page I am already on.
    The generated HTML looks very similar to that of the main menu, but with different menu-ids

    <div id="secondary">
    		<h2 class="site-description">Georgian Yacht Club, Owen Sound, Ontario Canada</h2>
    	
    		<nav role="navigation" class="navigation site-navigation secondary-navigation">
    		<div class="menu-members-area-container"><ul id="menu-members-area" class="menu"><li id="menu-item-5225" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-5225"><a href="#">Members Area</a>
    <ul class="sub-menu">
    	<li id="menu-item-5231" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5231"><a href="http://tbs.gyc.com/?page_id=877">Calendar / Members</a></li>
    	<li id="menu-item-5209" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-5209"><a href="#">Directory</a>
    	<ul class="sub-menu">
    		<li id="menu-item-5205" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5205"><a href="http://tbs.gyc.com/?page_id=365">“A” List</a></li>
    		<li id="menu-item-5206" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5206"><a href="http://tbs.gyc.com/?page_id=369">“B” List</a></li>
    		<li id="menu-item-5207" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5207"><a href="http://tbs.gyc.com/?page_id=114">Directors</a></li>
    	</ul>
    </li>
    	<li id="menu-item-5226" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-5226"><a href="#">Committees</a>
    	<ul class="sub-menu">
    		<li id="menu-item-5227" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5227"><a href="http://tbs.gyc.com/?page_id=119">Treasurer</a></li>
    		<li id="menu-item-5228" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5228"><a href="http://tbs.gyc.com/?page_id=276">Gas Dock & Safety</a></li>
    	</ul>
    </li>
    </ul>
    </li>
    </ul></div>	</nav>
  • You must be logged in to reply to this topic.