[wp-trac] [WordPress Trac] #26567: z-index admin submenu issues

WordPress Trac noreply at wordpress.org
Thu Dec 12 00:56:35 UTC 2013


#26567: z-index admin submenu issues
----------------------------+-------------------
 Reporter:  dennis_f        |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.8.1
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
----------------------------+-------------------
 Previously: #26280

 The issue doesn't exist in WP 3.7, as the #adminmenuwrap element doesn't
 have any specific z-index applied, I just inspected the code in 3.7 and I
 can see that the computed z-index of the #adminmenuwrap element is
 '''auto'''.

 Right now the #adminmenuwrap has a z-index of 99 which overwrites the
 z-index of .wp-submenu of 9999 (as it is its parent), so the .wp-submenu
 element goes below elements that have z-index of 100 or greater.

 As an example, as I mentioned in #26280, just use the browser developer
 tools to set a z-index of 100 to the Welcome Panel:

 {{{
 .welcome-panel{
         position:relative;
         z-index:100;
 }

 }}}

 and you will see how it goes over the submenu:

 [[Image(http://img7.imageshack.us/img7/51/m980.png)]]

 In fact there are no visual problems with WordPress by itself, but that
 would limit the plugin/theme developers to use elements with z-index
 greater than 99 - any element that has at least a z-index of 100 will get
 displayed over the submenu element.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26567>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list