I have created some pages and some pages have children.When i go to the wp admin menu,i create new menu and drag all the pages,including ones with children pages.I notice that the menus are all displayed without the cool drop downs i had hoped to see.

Does it mean that menus created in the wp admin cannot have drop down menus?.

2 Answers 2


Dropdown menu is something that handles by CSS or javascript (in some case) So a your theme should take care of that not the wordpress engine. When you add a nested menu items on wordpress menu that means wordpress will output a specific html structure for that menu.

    <ul class="sub-menu">

So, your theme css will have to use appropiate css to handle the dropdown funcitonality. Hope it clear.

  • Okay,i am getting that.Take the theme twenty ten discussed here: en.support.wordpress.com/menus In the header i have <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> .Does it mean that no matter how arrange my custom menus,i shall use the css class menu-headerm and not write new css to handle the custom menus?.
    – Gandalf
    Dec 15, 2011 at 10:29
  • 1
    yes, if you have a class called .menu-header which handles the css (in case of twenty ten. Sorry, don't have too much experience with default themes) for the menu then you can use it..
    – Sisir
    Dec 15, 2011 at 10:40

I have found what i was looking for in this documentation page: http://en.support.wordpress.com/menus/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.