Slider in menu causes menu display when not hovered
-
Hi
I have a slider in my mega menu (from the smart slider 3 plugin). It works correctly.
But if you move the cursor to any part of the page that is in the ‘footprint’ of the slider then it triggers the menu to show when it shouldn’t.
I contacted Smart slider support and this is what they said.:
I’ve seen this problem with Max Mega Menu plugin before.
In short, the problem is that they use “visibilily: hidden” to hide submenus, instead of using display: none, which is the proper way to do it. This CSS should help:”
li.mega-menu-item .n2-section-smartslider{ display: none; } li.mega-menu-item.mega-animating .n2-section-smartslider, li.mega-menu-item.mega-toggle-on .n2-section-smartslider{ display:block; }
That css did solve the problem, so I’m just putting this here iin case anyone else has a slider in a menu and is having the same problem.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Slider in menu causes menu display when not hovered’ is closed to new replies.