Change Collapse breakpoint in Bootstrap 3.0

前端 未结 6 1005
渐次进展
渐次进展 2020-12-16 19:26

Please help me on changing when my nav-bar be collapsed or if there is any method to make it responsive like getting in small size!

that\'s my code:

         


        
6条回答
  •  臣服心动
    2020-12-16 19:44

    The collapse can prove troublesome if you have a wide menu bar. You need to edit the media queries inside the bootstrap.css file. This can be found

    @media (min-width: XXpx) {
      .navbar-header {
        float: left;
      }
    }
    

    You should change this and some other under this such as .collapse to perfect it's responsiveness to your website. Also, your HTML is fine, but this doesn't really affect it.

提交回复
热议问题