All submenus expand on mouseover - don't want that (2 posts)

  1. ghulst
    Posted 4 years ago #

    On my site (c2coe.org/site) all the submenus for the menu expand at once. If you go to projects/project overview you get the whole thing expanding at once making you unable to read or choose anything. I have been looking at this for a while now, but can't find a reason why. Any thoughts on how to solve this would be very, very, very helpful!

  2. Andrei Olsen
    Posted 4 years ago #

    layout.css, line 442:
    #header .menu-hoofdmenu-container ul li:hover ul li:hover ul

    You are applying styles to all descendents, not just a child. Check out http://www.w3.org/TR/CSS2/selector.html

    Anyway, add > before the last ul, i.e.

    #header .menu-hoofdmenu-container ul li:hover ul li:hover > ul

Topic Closed

This topic has been closed to new replies.

About this Topic