Topic: Change SideNav breakpoint

sandeepspatil pro asked 5 years ago


Hello,

I want the sidenav to only hide for less than 1200 px, How do I change that? I tried changing 

$sidenav-breakpoint, but it results in no sidenav at all between 1200 and 1440 pixels

 


sandeepspatil pro answered 5 years ago


I forgot to change it in the js file. 

In case someone comes here, here are the steps (if using gulp)

1) Setup gulp as mentioned at here

2) update $sidenav-breakpoint in _variables.css, to whichever value you want

3) update SN_BREAKPOINT in js/dist/sidenav.js 


Marta Wierzbicka staff answered 5 years ago


Hi,

thank you for your help.

Best,

Marta



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: DELL XPS
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: Yes
  • Provided link: No
Tags