Opened 5 years ago

Closed 4 years ago

#4856 closed defect (bug) (fixed)

Admin bar profile menu goes behind the header menu in mobile.

Reported by: wpamitkumar's profile wpamitkumar Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Support Forums Keywords: has-screenshots has-patch


if I opened in mobile the header menu first and after I try to open the admin bar user profile sub-menu that goes behind the Header menu and not showing other menu items because of too much Z-index of the header menu.

Attachments (2)

menu-issue.mp4 (1.1 MB) - added by wpamitkumar 5 years ago.
menu-issue.gif (2.0 MB) - added by wpamitkumar 5 years ago.

Change History (4)

#1 @wpamitkumar
5 years ago

  • Keywords has-patch added

I Fixed below CSS and its working. Please use CSS z-index: 999; instead of z-index: 100000;.
Screenshot -

#wporg-header ul#wporg-header-menu {
    z-index: 999;

#2 @coffee2code
4 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 9444:

wp4: Slightly decrease z-index of mobile dropdown menu so that adminbar my-account menu doesn't appear under it when both are visible.

Also incorporates wp4-rtl.css updates following r9247.

Props wpamitkumar.
Fixes #4856.

Note: See TracTickets for help on using tickets.