Change the height of the navigator

In the starting example for Bootstrap, when I reduce the width of the browser, the navbar suddenly gets higher (since the menu options go into the drop-down button). Is there any way to control this?

0
twitter-bootstrap navbar
source share
2 answers

Bootstrap handles browser width changes using CSS Media queries. You can override them by creating your own CSS for the navigation bar and turning it on, for example, after the initial loading.

+1
source share

I faced exactly this problem, and after some research I found a solution.

Comparison

Change below "padding:" to 0px:

navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner { padding: 0px;} 

To solve a problem. I assume that the change can also be made in the LESS file and recompile css, but instead I made changes to the "main.css" file.

0
source share

All Articles