Not sure but I'm thinking your over thinking it. I think Chris was on the right track. But I'm wondering what your really trying to accomplish.
Are you trying to make it so the site doesn't get any wider then 991px? If so then all you needed to do was set in your custom CSS the following
.container-fluid{
max-width:991px;
}
Here is how this works.
-
.container-fluid
has no width restrictions i.e. full width of screen whatever that may be
-
.container
has specific width restrictions based on media queries and maxes out at 1170px
- both
.container-fluid
and .container
by default have margin-left/right set at auto
- both
.container-fluid
and .container
have padding gutters (padding-left/right set at 15px)
-
.row
offsets the padding gutters by setting margin-left/right set at -15px
-
.col-xx-yy
must be (and should only be the) direct child(ren) of .row
The use of .container-fluid
and .container
is required by the grid system i.e. <div class="row"><div class="col-md-12">
The grid system first starts with a row (<div class="row">
) and it's direct child(ren) should only be a column(s) (<div class="col-md-12">
) and some where along the hierarchical tree there should be a parent element of .container(-fluid)
http://getbootstrap.com/css/#grid-intro
Based on the above (without the wrapper div) if you set it as I described your site will center on any screen above 991px and be no wider than 991px.
If the center and width are not working out, then you have something else wrong in your CSS which I can't see because my testing on your site it all worked out as I layed out here.
....
Next part..
Your Carousel is in an incorrectly constructed grid. You have the following <div class="row"><div><div class="carousel slide">
that middle div should be a column class. It is truly unnecessary for the grid here at all. So you can drag the Carousel just above the <div class="row">
in the Overview pane and delete the row and it's child div.
Now doing either will reinstate the gutter spacing on mobile view because of the .container-fluid
, if want the Carousel to be edge to edge again in mobile view add the following CSS. Using the site address http://crimson-paper-3666.bss.design for my testing.
#carousel-1{
margin-left: -15px;
margin-right: -15px;
}
....
Next part..
Your Inquire Contact Us form is in an incorrectly constructed grid. It is in a column with out a parent .row
element. It is truly unnecessary for the grid here at all. So you can drag the Form just above the <div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
in the Overview pane and delete the column. If you are trying to, in effect, restrict the width of the Form and center it, then you would do something similar as I described above with the .container-fluid
but for the Form element. I just don't think that it's necessary really.
This would make your site more properly constructed.
Sometimes I even have to take a step back and think, am I over thinking this, often at times I am. Which ultimately leads to a better way of doing whatever it was I was trying to do in the first place.
....
Read this site http://getbootstrap.com it is what the BSS app is based on.
Saj