Topic: margin top in mdb-side-nav

alax free asked 5 years ago


how to make a top margin in mdb-side-nav.

I would like mdb-navbar to always be top and mdb-side-nav come below it.

I've already tried to put mdb-side-nav inside mdb-container but it's no use.


Jakub Strebeyko staff answered 5 years ago


Hi there @alax,

To pass a positioning class (say, mt-5) to a SideNav component, please pass its name as a string to sideNavClass prop. Direct style-attribute-based alteration will be available from the upcoming release on through sideNavStyle prop, accepting either a string or an object.

With Bestest of Regards, Kuba



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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.1.1
  • Device: Desktop
  • Browser: Chorme
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No