Topic: Can the SideNav in a Double Nav be placed at the right instead of the left?
I would need the button and the expanding SideNav to come in the the right. Is that possible?
Mirosław Stasiak answered 7 years ago
Hi,
Check the documentation. It's written there.
Here's an example:
//SideNav Options $('.button-collapse').sideNav({ edge: 'right', // Choose the horizontal origin closeOnClick: true // Closes side-nav on clicks, useful for Angular/Meteor });
Regards,
cdenby pro commented 7 years ago
I don't know how to find this documentation. When I get into the Double Nav, there's very little customization that is there - just layout choices that don't show this code. Am I missing some area of documentation for this? This is where I find information about Double Nav: https://mdbootstrap.com/components/navbar/#double-navigationMirosław Stasiak commented 7 years ago
https://mdbootstrap.com/javascript/sidenav/cdenby pro commented 7 years ago
It doesn't appear that this is going to work for a Double Nav - the Top spacing doesn't work properly in this case.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