how to disable the Navbar-toggler from showing up


Topic: how to disable the Navbar-toggler from showing up

ksobon pro asked 6 years ago

Is there a way to get rid of the navbar toggler? It comes as part of the template for the navbar, and its always showing up when the window is small, hiding all nav-item objects. I would like to make sure that it doesn't show up. Ideas?

Jakub Mandra staff premium answered 6 years ago

Hello,
There is no way to do that, it is strict Bootstrap's behaviour.
Navbars can utilize expand prop to change when their content collapses behind a button. By adding small, medium, large you can easily choose when to show or hide particular elements.

<navbar expand="large">
</navbar>

Best regards,
Jakub from MDB


ksobon pro commented 6 years ago

Mhmmmm....that's not ideal. What about at least controlling what that "bars" object looks like? What if I want to use the fa bars rather then ones that they are using. I want to thicken it up a little.

Jakub Mandra staff premium answered 6 years ago

Unfortunately, this is not possible at the moment. Bars are implemented inside the component, we manage them as a 'native' Bootstrap element. But this should be taken under the consideration for future release. Thank you for posting. Best regards, Jakub from MDB
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No