Change the default responsive navbar breakpoint

前端 未结 2 1933
难免孤独
难免孤独 2020-12-10 06:43

is there a way to change the breakpoint where Bootstrap menu becomes responsive and collapse? 979px is far too big for me and I would like the transformation taking place on

2条回答
  •  半阙折子戏
    2020-12-10 07:08

    Yes, you can do it by redefining @navbarCollapseWidth variable in less/variables.less file. And recompiling css after that.

    Compiling instructions can be found in Compiling Bootstrap with Less section of official documentation.

提交回复
热议问题