Side nav constantly visible


Topic: Side nav constantly visible

Byron Cross asked 3 years 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 3 years ago

Hi,

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 3 years ago

so i just include this into my custom javascript document?


Marta Szymanska staff pro premium commented 3 years ago

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


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
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.4
  • Device: Mac
  • Browser: Chrome
  • OS: mojave
  • Provided sample code: No
  • Provided link: No