Unsure how to use the push feature on sidenav.


Topic: Unsure how to use the "push" feature on sidenav.

SupporterHub pro premium priority asked a year ago

I'm trying to have a static, slim sidenav that doesn't overlay the rest of the page. In the positioning examples it shows off the push attribute which I believe is what I need. However, I'm unsure as to how to set the sidenav to push mode. The html example given is blank. I tried to add data-mdb-mode="push" assuming that would work however it does not.

Id also like to overlay a regular top of page navbar over the sidenav. Any tips on how to accomplish this?


Grzegorz Bujański staff answered a year ago

I created a snippet for you with a sidenava example with push mode set https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/5503334#html-tab-view


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: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.4.0
  • Device: Macbook
  • Browser: Chrome
  • OS: macos
  • Provided sample code: No
  • Provided link: No