Navbar color gets grayed out
See original GitHub issueHi, here is the problem I’m having: on small screens, that is when the Navbar becomes a SideNav, the background color gets very dark.
This happens when I change the default color for the Navbar, for example: <Navbar className="light-blue darken-4">.
Below the screen of the resulting Navbar:

Any suggestion/workaround?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Bootstrap navbar element stay greyed out in Chrome only
SOLVED: The problem came from CSS specificity.Bootstrap's css was judged more specific by Chrome regarding my menu's selector, ...
Read more >barTintColor not working in iOS 15 | Apple Developer Forums
I've tried to use Rincewind's code to style the picker, but it just shows as light grey, with the nav bar buttons in...
Read more >My navbar has turned grey? - Bugs - Forum | Webflow
My navbar has mysteriously turned grey. Our theme was based on the Noiceland theme and the navbar has always been white. Now it...
Read more >Modal Greyed Out When Loading from Navbar Header i...
I'm trying to figure out how to get around my modal being greyed out when the button is in the navbar of the...
Read more >Navbar background color turns gray upon initial load - Themeco
The white space is caused the by the navbar falls down due to logo and menu not fitting on same line. Your best...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Made the tests:
#sidenav-overlay { z-index: 1; },.navbar-fixed { z-index: 999; }and.navbar-fixed { z-index: 998; }work just fine on my web app. I’m going with the first one now.#sidenav-overlay { left: 300px; }and#sidenav-overlay { margin-left: 300px; }work but the visual effect when opening the sidenav is not very pleasant.Anyway, I hope they will soon update the materialize library, this bug is almost 8 months old!
put #nav-mobile or .side name outside of #navbar-fixed