Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Can I set the max-width for a responsive layout in twitter-bootstrap?

Can I set the max-width for a responsive layout in twitter-bootstrap?

Problem

I just upgraded twitter-bootstrap from 2.0.4 to 2.2.1. The only issue I have is that my current website now expands to the new Responsive Layout of 1170px and I've optimized my site around a max width of 940 pixels. Does anyone know if it's possible to set the new responsive layout to have a max width of 940px?

My current meta tag looks like this:

Any thoughts?

Problem courtesy of: Paul

Solution

Remove the following @media query from your stylesheet:

@media (min-width: 1200px) {...}
Solution courtesy of: shaunsantacruz

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

Can I set the max-width for a responsive layout in twitter-bootstrap?

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×