WordPress.org

Ready to get started?Download WordPress

Forums

Admin Menus Fixed
[resolved] Z-index issue (6 posts)

  1. brasofilo
    Member
    Posted 1 year ago #

    I'm experiencing the following issue, sub-menus fly-overs getting under the main content:
    http://cl.ly/image/2S1Z1X0a2e2M

    Am solving with this rule
    #adminmenuwrap {z-index: 9999 !important}

    http://wordpress.org/extend/plugins/admin-menus-fixed/

  2. spherical
    Member
    Plugin Author

    Posted 1 year ago #

    I can't reproduce this. It works as expected, no matter what I've tried in order to make it fail. There has to be a common denominator here somewhere. See the other thread:

    http://wordpress.org/support/topic/menu-flyouts-display-behind-main-area-content

    I don't want to jump on a band-aid fix without knowing what is actually causing this in the first place. While adding a z-index to the ID may work, it hasn't been a problem previously. Sticking something in there that "fixes" the current problem is asking for trouble later on.

    AND I don't want to add anything unnecessary into the 6 files that modify #adminmenuwrap if this is a one-off. Being prudent, I keep all of my WP installs updated (a couple are one or two versions back -- but that's it), so don't have old versions back to 3.2 hanging around just to test on.

    Seems as if it's a 3.5.1 issue, with perhaps some complications of themes or other plugins thrown in; just for good measure. No reports of this have come in previously, so this appears to be the case. I've looked through the core files and there's nothing there that would indicate an issue.

    Perhaps you and RJKJR could correlate on your environments to see if anything sticks out as a common? This is an obvious anomaly that would prompt more bug reports than the two that have been provided, so there's got to be something that needs discovering.

    Thanks to you both.

  3. spherical
    Member
    Plugin Author

    Posted 1 year ago #

    Thinking about this, as I go back through older WP version core files to see what may have changed (nothing so far) please try to learn what z-index value is the minimum. Using a sledgehammer 9999 works, yes, but it doesn't offer any manner of information as to what may be the actual cause. Narrowing things down by specifying only that which is ultimately necessary can lead to an overall solution. Could very well be that z-index: 2 does the same thing.

    Why it does the same thing, or is even necessary in the first place, is the bigger question.

  4. spherical
    Member
    Plugin Author

    Posted 1 year ago #

    Found it. Got thinking about what else may be in the mix and arrived at browsers. You're both using Chrome, yes? Fixed with a z-index of 1 but gave it an extra level, just in case. Oddly, IE did it correctly. Who would've figured that?

  5. brasofilo
    Member
    Posted 1 year ago #

    Yes, using Chrome here, didn't thought on testing in another browser, ups...

    Working perfectly now, thanks!

  6. spherical
    Member
    Plugin Author

    Posted 1 year ago #

    Good to hear. Thanks for the help and feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.