Side nav constantly visible

Topic: Side nav constantly visible

Byron Cross asked a year ago

Hi. So I really love the side nav but wanted to find out if it was possible if instead of clicking the hamburger menu, the side nav is constantly out? thank you

Marta Szymanska staff pro premium answered a year ago


please use breakpoint:

$('.button-collapse').sideNav({ breakpoint: 1200 // Breakpoint for button collapse });

You can change the value for anything you want.

Best, Marta

Byron Cross commented a year ago

so i just include this into my custom javascript document?

Marta Szymanska staff pro premium commented a year ago

Yes, put this code in your script in HTML document.

Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.8.4
  • Device: Mac
  • Browser: Chrome
  • OS: mojave
  • Provided sample code: No
  • Provided link: No