Topic: Can the SideNav in a Double Nav be placed at the right instead of the left?

cdenby pro asked 6 years ago


I would need the button and the expanding SideNav to come in the the right. Is that possible?


Mirosław Stasiak free answered 6 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 6 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-navigation

Mirosław Stasiak free commented 6 years ago

https://mdbootstrap.com/javascript/sidenav/

cdenby pro commented 6 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.


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags