Topic: How do i make my sidenav show by default on a big screen and auto-hide on mobile

olaniyimoses pro asked 4 years ago


How do i make my sidenav show by default on a big screen  devices and auto-hide on mobile devices

Arkadiusz Idzikowski staff answered 4 years ago


Dear olaniyimoses, You can use sidenavBreakpoint input to set breakpoint on which sidenav will close automatically. For example: add sidenavBreakpoint=500 to the mdb-side-nav element. Regards, Arek

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

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: mobile devices
  • Browser: chrome
  • OS: mac os
  • Provided sample code: No
  • Provided link: No