• I use the custom menu widget in a sidebar, for testing purposes i use the menu that normaly is for the primary menu in the header..

    However in the sidebar the subitems are there and i want to see them after hover the parent item, at this moment i try the folowing css code that show the subitems after clicking the parent item

    .sub-menu,
    .sub-menu ul {
    display: none;
    }
    
    .current-menu-item .sub-menu,
    .current-menu-item .sub-menu ul ,
    .current-menu-parent .sub-menu,
    .current-menu-ancestor .sub-menu {
    display: block;
    }

    Does somebody know a sollution instead of clicking the parent item the subitems are view by hovering the parent?

  • The topic ‘Custom menu widget’ is closed to new replies.