Side navigation only (no top nav)


Topic: Side navigation only (no top nav)

erikmjacobs pro premium asked 2 years ago

All examples feature either top-nav (only) or double navigation (top+side).

I'd like to build only side-nav however it appears that the "header" causes the "main" to be pushed down on the page. 

Actually I'm using 4.5.16 but there is no selector for that.


Marta Szymanska staff pro premium answered 2 years ago

Hi,

this "pushed" content is caused by the collapse button which you can see on small devices. Please, look at the attached screenshots:

If you don't want this effect on a desktop, you can add the CSS code with media query settings. You can see it in my snippet here: https://mdbootstrap.com/snippets/jquery/marta-szymanska/242942.

Best,

Marta


erikmjacobs pro premium commented 2 years ago

amazing - thanks!


Marta Szymanska staff pro premium commented 2 years ago

Hi,

you’re welcome.

Best,

Marta


Marta Szymanska staff pro premium answered 2 years ago

Hi,

please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.

Best,


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: jQuery
  • MDB Version: 4.5.15
  • Device: laptop
  • Browser: chrome
  • OS: Linux (Fedora 29)
  • Provided sample code: No
  • Provided link: No
Tags