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.

#sidenav-overlay showes up above .side-nav

See original GitHub issue

Hi,

the #sidenav-overlay showes up above the slide out .side-nav (see screenshot).

I’m wondering how to fix this? Is it the right way to just set the following css?

#sidenav-overlay {
    left: 240px;
}

bildschirmfoto 2016-03-05 um 16 09 08

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

34reactions
xyludecommented, Jan 10, 2017

I had the same problem, and after digging around I realized that if you put the .side-nav inside of the .navbar-fixed component the z-index for .navbar-fixed will override the one set on .side-nav. I fixed this without messing about with the css by moving the .side-nav component out of the .navbar-fixed one.

The lesson learned here is even if you aren’t using the .navbar-fixed class, it might be some other parent causing your z-index to be wrong on the .side-nav.

Hope this helps!

5reactions
Uzzijecommented, Aug 12, 2016

@ezkay overide side-overlay z index in your own css file #sidenav-overlay { z-index: 1; } make sure that your css file comes after materialize own css file

Read more comments on GitHub >

github_iconTop Results From Across the Web

Materialize CSS - Sidenav overlay covers all the page
To work around this, I put <ul class="side-nav"> parallel in the ... Modify the materialize CSS file to change the #sidenav-overlay to
Read more >
Sidenav - Angular Material
The over and push sidenav modes show a backdrop by default, while the side mode does not. This can be customized by setting...
Read more >
How To Create a Side Navigation Menu - W3Schools
Sidenav overlay without animation ... Add all page content inside this div if you want the side nav to push page content to...
Read more >
SideNav: 'push in' desktop, 'overlay' mobile - CSS-Tricks
Only problem: the side nav is coming from left to right even on mobile. How can i make it appear from top to...
Read more >
SideNav (edge: &#38;#039;left&#38 - MDBootstrap
The div overlay was gone but the panel stays visible. 2. If I change the width, like this: $('.test').sideNav({ menuWidth: 350, // Default...
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