#sidenav-overlay showes up above .side-nav
See original GitHub issueHi,
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;
}
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (2 by maintainers)
Top 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: &#039;left& - 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 >
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
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!
@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