• hi i am searching for a widget that uses my already defined menus.
    I dont want them to be shown with all elements, only the top level elements should be shown and with mouse over a drop down menu should open with all child elements and so on.

    all widgets i have found dont have this drop down ability. they are all static lists with my menu elements.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You could do it with some custom CSS, either using a plugin or your theme’s built-in custom CSS option, if one exists. If you were using WP’s built-in nav menu widget, try this:

    @media screen and (min-width:1100px) {
      .widget_nav_menu li:hover > ul {
        display: block;
      }
    
      .widget_nav_menu ul ul {
        display: none;
      }
    }

    That would give you some extremely basic styling, which you could build on as you see fit. I used the media query so it would only apply on non-mobile devices.

    Thread Starter parafux

    (@parafux)

    i don’t know what a “WordPress’ built-in nav menu widget” exactly is. can you specify this.

    Oops, it’s called “Custom Menu” if you’re looking at Dashboard > Appearance > Widgets.

    Thread Starter parafux

    (@parafux)

    which one of the various plugins that i can install is the correct one. If i search for Custom Menu, the first in the list does not work with the latest WP version.
    can you please send a link?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘widget with drop down menu’ is closed to new replies.