feghalichris free asked 7 years ago


Where exactly do I post the code for a sticky top navbar, and do i need to combine in with a fixed top? And is there anything else that needs editing for this to work?  Thank you!
<nav class=\"navbar sticky-top navbar-dark indigo\"> <a class=\"navbar-brand\" href=\"#\">Sticky top</a></nav> 

Marta Wierzbicka staff answered 7 years ago


Hi, In our documentation here you can see how to do this: https://mdbootstrap.com/components/navbar/. You have the code for basic navbar and you just need to add a class .sticky-top to .navbar. Best, Marta

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: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags