Reputation: 1979
change bootstrap 3 default container width with out any alignment issue,
The default container width is
.container {
width: 1170px;
}
I need to change
.container {
width: 960px;
}
Upvotes: 2
Views: 104
Reputation: 36
click and customizeBootstrap site and choose the size you require. set @gridColumnWidth and @gridGutterWidth variables.
example:
@gridColumnWidth = 50px and @gridGutterWidth = 100px results on a 1000px layout.
Then download it.
Upvotes: 2
Reputation: 507
if you want only for that page then you can write a css in that file like
<style>
.container {
width: 960px !important;
}
</style>
or you can add it to your main tempalte css the same way with important keyword
Upvotes: 1