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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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?
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

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 53

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anchor Bookmark 6 34
Insert PHP into HTML page. 7 52
css messed up 8 29
CSS styling problem 3 28
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn how to dynamically set the form action using jQuery.
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.

751 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