Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#39384 new defect (bug)

TwentySeventeen Navbar z-index

Reported by: halgatewood Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: template Cc:


The current z-index for the fixed navigation is 7. This seems a bit low as it should be above all other items on the page. For instance this widget getting mixed up with the navigation items:


Something much higher may be appropriate:

.site-navigation-fixed.navigation-top { z-index: 9999; }

Hal Gatewood

Change History (1)

#1 @justnorris
3 years ago

  • Type changed from enhancement to defect (bug)

I just ran into the same issue.

I think z-index: 9999 can be an overkill, and maybe even override some lightboxes, but Z7 is definitely way too low for a sticky menu.

Maybe it should be set to around 500 - 1000 ?

Version 0, edited 3 years ago by justnorris (next)
Note: See TracTickets for help on using tickets.