I ran into the same problem (wanting a fluid layout), but wanted to save sensitive parameters with column permutation, etc. for smaller screens and eventually got a slight change in .less variables:
// Large screen / wide desktop (last row of file) @container-lg-desktop: 100%; //((1140px + @grid-gutter-width));
This value is used once in grid.less and sets
@media (min-width: @screen-lg-desktop) { .container { max-width: @container-lg-desktop; } .... }
The result is that more than 1200 pixels, the grid is a liquid (without horizontal scrollbars). Normal sensitive rules apply below. Of course, you can also install this on other media queries just as easily.
If you do not want to edit and compile yourself, you can override maxwidth in your own stylesheet below:
@media (min-width: 1200px) { body .container { max-width: 100%; } }
All of this assumes that you are using the standard Bootstrap grid syntax, including the container, as shown below:
<div class="container"> <div class="row" > <div class="col-md-6">.col-md-6</div> <div class="col-md-6">.col-md-6</div> </div> </div>
Hope this helps!
Victor Oct 30 '13 at 15:12 2013-10-30 15:12
source share