question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navbar color gets grayed out

See original GitHub issue

Hi, 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:

screenshot

Any suggestion/workaround?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pleopardicommented, Jun 30, 2017

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!

0reactions
sujanhbgcommented, Sep 14, 2021

put #nav-mobile or .side name outside of #navbar-fixed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found