Topic: sidenav breakpoints
Piotr Glejzer staff answered 6 years ago
natenoctel commented 4 years ago
Hi Piotr,
I have found myself on this thread as I am having the same problem. I see that this response was two years ago. Has there been an update on being able to set the breakpoint?
Grzegorz Bujański staff commented 4 years ago
Hi.
Yes, this option has been added. A list of available options can be found here: https://mdbootstrap.com/docs/jquery/navigation/sidenav1/#options
Piotr Glejzer staff answered 6 years ago
Hi,
If you want change breakpoint sindenav collapse you have to do something like that:
You need to go to your mdb.js file.
And you have to change variable:
var SN_BREAKPOINT = 1440;
to
var SN_BREAKPOINT = 1280;
It should be works. If not let me know I will try to help you again!
Best,
Piotr
cdenby pro answered 6 years ago
cdenby pro commented 6 years ago
Also - changing the SN_BREAKPOINT (at least in 4.5.12) doesn't actually work. It certainly visibilizes the sideNav properly, but it doesn't take care of the rest of the page. The sidenav appears, but the remainder of the page (in a double nav setup) doesn't shift over.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No