WordPress.org

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:
PR Number:

Description

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:

https://halgatewood.com/wp-content/uploads/2016/12/twentyseventeen-zindex.jpg

Something much higher may be appropriate:

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

Thanks,
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 z-index:7 is definitely way too low for a sticky menu.

Maybe it should be set to around 500 - 1000 ?

Last edited 3 years ago by justnorris (previous) (diff)
Note: See TracTickets for help on using tickets.