0

I have used Twitter Bootstrap to develop a website with the fixed container class, but now i wants the website to be 960px width and not 1170px. I don't use the .less files.

Is there a quick way to fix this?

user2721443
  • 21
  • 1
  • 4

4 Answers4

0

If you do not want to compile it yourself, you can get a customized version from the official website with necessary parameters.

fjarri
  • 9,546
  • 39
  • 49
0

Add this after your bootstrap.css

.container
{
min-width: 960px !important;
max-width: 960px !important;
width: 960px !important;
}

Maybe not all are required, but just to be sure.

Admir Tuzović
  • 10,997
  • 7
  • 35
  • 71
0

Create a custom fixed width container..

.container-fixed {
  margin: 0 auto;
  max-width: 960px;
}

And use this instead of .container. Here is a working demo on Bootply: http://bootply.com/71142

Carol Skelly
  • 351,302
  • 90
  • 710
  • 624
0

As Answered HERE - Its best to extend the bootstrap(.min).css rather than editing the file your self if you are using a CDN customizing the core css isn't an option.

Community
  • 1
  • 1