[wp-trac] [WordPress Trac] #49322: Twenty Twenty: Submenu items disappear underneath the Cover block

WordPress Trac noreply at wordpress.org
Mon Apr 13 09:34:37 UTC 2020


#49322: Twenty Twenty: Submenu items disappear underneath the Cover block
-------------------------------------+---------------------
 Reporter:  kjellr                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.5
Component:  Bundled Theme            |     Version:  5.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+---------------------

Comment (by JavierCasares):

 Replying to [comment:1 kjellr]:
 > I've added [attachment:"49322.patch"] to fix this issue. It adjusts the
 `z-index` of `#site-header` from `1` to `2`. The `z-index` of the cover
 block's overlay is `1`, so that's enough to fix the issue. Adjusting the
 `z-index` of any items below `#site-header` didn't have any positive
 effect, and making this change doesn't seem to mess with anything else
 that relies on `z-index`(like the search box for instance).

 Tested and works for me :) Thanks @kjellr

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49322#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list