I am looking to use a different mobile menu solution and replace the default bootstrap 3 mobile menu.

How can I turn off the bootstrap collapsed mobile menu function?

1 Answer 1


Just override the menu--main.html.twig template that comes along with the bootstrap theme, and replace the HTML classes with your own classes, then the bootstrap mobile styling won't affect your menu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.