WordPress.org

Support

Support » Themes and Templates » Drop Down Menu woes – child level appears in main level and in header

Drop Down Menu woes – child level appears in main level and in header

  • antorera

    @antorera

    Hello,

    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!
    Antonella

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jared

    @jaredatch

    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.

    antorera

    @antorera

    Hi,

    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?

    thanks.

    Jared

    @jaredatch

    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.

    antorera

    @antorera

    Hi,

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Drop Down Menu woes – child level appears in main level and in header’ is closed to new replies.
Skip to toolbar