Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello everybody.
I use OM-Maximenu for some time and never had problems. But this time, I have two OM-Maximenu on a site that I'm finishing up: a top menu and a menu on the left side.
When the cursor of mouse overlap to the first link in the top menu to open the submenu, the submenu appears, but the side menu overlaps the submenu, as the image below:
I can not figure out if this is a configuration issue, CSS, or even a bug.
Can you help?
Tks.
Comment | File | Size | Author |
---|---|---|---|
OM-Maximenu.png | 10.73 KB | astutonet |
Comments
Comment #1
astutonetHi guys, nothing to do about this issue?
Comment #2
Diane Bryan CreditAttribution: Diane Bryan commentedI've solved Om Maximenu overlaps by deciding what the stacking order should be for the various menus, (somebody is always on top), and then applying z-index in the theme's CSS.
To find out which CSS selector gets the z-index, you should be using Firebug plugin or something similar. The thing that sits on top gets a higher z-index value (you might make the container for your top menu z-index 500, and the container for the side manu z-index 400, for example).
If you're having no luck with z-index, it could be that an absolute positioned object is sitting on top.
Using Firebug and looking at the CSS for each div or element, you should be able to figure out what's holding an object above the others.
Comment #3
astutonet@Diane, Thank you for your register. For the case shown, the problem was solved in another way, since one of the top menu items was excluded.
But your tip is precious and can be used in future cases.