Twitter Bootstrap responsive layout with 1000px max width

Posted on 2013-06-10
Last Modified: 2014-02-22

I want to use Twitter Bootstrap as the base CSS for building a site that needs to be 1000px max width.  I believe the default Bootstrap layout width is 1170px.

What modifications do I need to make in order to specify the 1000px width and also still use the fluid columns with class="span4" etc?

Many thanks!
Question by:Danzigger
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39236624
acc. To me thats not good... To filter from the default... But if you want try this...

body { 
max-width: 1000px !important;
.container { 
max-width: 100% !important;
margin: 0 auto;

Open in new window

Put the above in the end..
    <div class="container-fluid">
          <div class="row-fluid">

Open in new window

LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39236629
oops sory its not .container its .container-fluid in the CSS snippet... Plz correct it...

Author Comment

ID: 39236646
Thanks for the reply.  So do you think the fixed width should be 1170?  ie. It's a problem to use 1000px width?
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39236661
Yes. Its bootstrap's default and we should not change it as it may directly or indirectly affect other things...

well, its your wish...
LVL 52

Accepted Solution

Scott Fell,  EE MVE earned 500 total points
ID: 39237846
You should  be able to make the container width what ever you want.  Then as long as you are using the row-fluid the span's are % so you should be good.

Expert Comment

ID: 39879279

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question