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?
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?
If you do not want to compile it yourself, you can get a customized version from the official website with necessary parameters.
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.
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
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.