Ready to get started?Download WordPress


Drop Down Menu woes - child level appears in main level and in header (5 posts)

  1. antorera
    Posted 4 years ago #


    I was working on a theme and all fine until I added child pages. All of a sudden I discovered the theme had drop down menus (great! I could use those). HOWEVER, they are not working. The child levels are appearing inthe main menu bar, and in the header and are displayed fixed. In other words, it´s a mess ... take a look at http://www.inthegarlic.com/wordpress.

    I´ve looked in the header.php and style.css files but couldn´t find anything about the menus. Could anyone point me in the right direction on how to fix this or where to get better code for the drop-down menus?

    Thanks so much!

  2. Jared Atchison
    Posted 4 years ago #

    What is the template you used for the base theme?

    I would look at that and compare it to yours. See if anything is not being included.

    For example, I looked and there is no jquery (or similar) being loaded.

  3. antorera
    Posted 4 years ago #


    the base theme is swanky.

    I didn't make many modifications to it. What is a jquery? Is there a standard template I should look and compare to make sure my theme has?


  4. Jared Atchison
    Posted 4 years ago #

    Ok after looking at the source behind the base these http://www.freecsstemplates.org/templates/previews/swanky/ there is no CSS in place that supports drop downs.

    What is happening in your theme is just a result of sub list items getting displayed.

    So your options are either to turn off displaying sub pages (via depth), see http://codex.wordpress.org/Template_Tags/wp_list_pages

    Or do some other wizardry to add drop down support yourself - but I looked at the CSS and there is no support in that template.

  5. antorera
    Posted 4 years ago #


    Thanks so much for looking. I didn't expect that this template had drop down menus, so was surprised when the appeared. Thanks for the suggestions - will look into both.

Topic Closed

This topic has been closed to new replies.

About this Topic