Topic: Double Navigation with fixed SideNav & fixed Navbar

cliceduca pro asked 6 years ago


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  

Damian Gemza staff answered 6 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

cliceduca pro commented 6 years ago

thanks, work with this code.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags