• Translatoria

    (@translatoria)


    The submenu on this page http://www.spinsister.nl/WP/ should only be visible on hover. I can hide the submenu by adding li.menu-item ul li {display:none;} but how do I get the menu to show back up again on hover?

    Any help would be much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • jevets

    (@jevets)

    An additional css rule using :hover. Something like this, experiment until you get it.

    li.menu-item:hover ul li {display:block;}

    Thread Starter Translatoria

    (@translatoria)

    Brilliant! Thank you. O had tried something like that, but had put the on hover on the a, instead of on the menu-item.

    Problem now is that the background color of the submenu stays the same, but I guiess I can rmedy that with the css for the sub.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘submenu show only on hover’ is closed to new replies.