Topic: Double Navigation with fixed SideNav & fixed Navbar
hello,
I need modify the sidebar visibility, because when the resolution is 1366x768 the sidebar is hidden, but i need when the resolution is 1024 the sidebar hidden.
Regards
Add comment
Damian Gemza staff answered 7 years ago
Dear cliceduca,
Head into assets/scss/mdb/pro/_variables-pro.scss file and in line 15 ($sidenav-breakpoint) change 1441 to your desired value.
Then head into pro/sidenav/sidenav.component.ts file and change every 1440 and 1441 to your desired showing / hiding sidenav values.
Then head into /scss/mdb/pro/sections/_template.scss, and at the end of .fixed-sn class and code below:
@media all and (min-width: your-desired-value in px) { .double-nav { padding-left: 240px!important; } }
This should work.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No