WordPress.org

Support

Support » Themes and Templates » Yoko » Dropdown Menu

Dropdown Menu

  • I have added a dropdown menu to my site under the How We Work section. It was showing up, now it does not. If I show a generic navigation it works, but when I use my custom navigation it does not. My goal is to have the pages under the title How We Work and make only the subpages clickable. I do not wan the How We Work link to go anywhere. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t see any sub-pages in your navigation HTML;

    <ul id="menu-main-navigation" class="menu"><li id="menu-item-245" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-6 current_page_item menu-item-245"><a href="http://dev.leslielernerproperties.com/">Home</a></li>
     <li id="menu-item-246" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-246"><a href="http://dev.leslielernerproperties.com/about">About</a></li>
     <li id="menu-item-247" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-247"><a href="http://dev.leslielernerproperties.com/how-we-work">How  We  Work</a></li>
     <li id="menu-item-248" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-248"><a href="http://dev.leslielernerproperties.com/property-search">Property Search</a></li>
     <li id="menu-item-249" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-249"><a href="http://dev.leslielernerproperties.com/blog">Blog</a></li>
     <li id="menu-item-250" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-250"><a href="http://dev.leslielernerproperties.com/contact">Contact</a></li>
    </ul>

    Did you create your navigation through Appearance → Menus, a Custom Menu?

    Yes, appearance, menus, menu name, theme locations, etc. I have set up two pages to go under the How We Work Page. They both show in my Pages and the parent is How We Work. Thanks.

    I have now not selected a primary menu and you can see all of the pages I have included in my site. You can also see the How We Work drop-down. That is not present when I go back to my custom menu, Navigation.

    I think I may have found the problem, but don’t know how to change it. The line for How We Work reads as: <li id=”menu-item-201″ class=”menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-8 current_page_item menu-item-201″>How We Work

    The others read: <li id=”menu-item-204″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-204″>Property Search

    This line is not included in all of the others: current-menu-item page_item page-item-8 current_page_item menu-item-201″

    Any ideas of how to change this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dropdown Menu’ is closed to new replies.
Skip to toolbar