Prevent menu from collapsing in 768px display CSS media query

后端 未结 9 1774
[愿得一人]
[愿得一人] 2020-12-08 10:16

I am trying to do a site using twitter bootstrap. I am having relatively less menus, so it kind of fits within the 768px display also. But in bootstrap by default, the menu

9条回答
  •  青春惊慌失措
    2020-12-08 10:54

    You can customize Twitter Bootstrap css compiling it from sass-twitter-bootstrap scss files and setting $navbarCollapseWidth in _variables.scss to your desired value...

    Edit

    As @Accipheran stated in the comments, for Bootstrap 3.x the name of the variable you should set is $grid-float-breakpoint.

提交回复
热议问题