I’ve recently found some limitations when creating layouts using Twitter’s Bootstrap framework. This limitation is almost exclusively the ability to create 5-column layouts instead of the built-in maximum of 4. Here’s a quick bit of code that you can add to an override stylesheet that will allow you to create 5-column layouts that will function exactly like the built-in bootstrap columns.
Add the following CSS to your custom stylesheet and then use the col-*-13
class wherever you need a 5-column(20% width) layout.
.col-xs-13, .col-sm-13, .col-md-13, .col-lg-13{
position: relative;
min-height: 1px;
padding-right: 10px;
padding-left: 10px;
}
.col-xs-13{
width: 20%;
float: left;
}
@media screen and (min-width: 768px){
.col-sm-13{
width: 20%;
float: left;
}
}
@media screen and (min-width: 992px){
.col-md-13{
width: 20%;
float: left;
}
}
@media screen and (min-width: 1200px){
.col-lg-13{
width: 20%;
float: left;
}
}