Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to avoid collapsing navbar?

dxl pro asked 6 years ago


My navbar only has 2 items. I don't want it to collapse on small screens. How do I get the behavior as the mdbootstrap website, where the navbar icons are still visible (without needing to click a hamburger)

Damian Gemza staff answered 6 years ago


Dear dxl, Please add .navbar-expand class to the mdb-navbar element. This is described in our Navbar documentation. Best Regards, Damian

Benjamin Fenasse free commented 4 years ago

Wrong it doesn't work


Arkadiusz Idzikowski staff commented 4 years ago

I just checked and it works correctly. You need to add this class here:

<mdb-navbar SideClass="navbar navbar-expand-lg navbar-dark indigo navbar-expand">

In case of any further problems please provide more details (code, screenshots).



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 Angular
  • MDB Version: 6.0.2
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: No