I want to adjust the columns in Twitter Boοtstrap.
I know in bootstrap there are 12 columns grid. Is there any way to manipulate the grids to have 1.5 3.5 3.5 3.5 i
The short answer is no (technically you can give whatever name of the class you want, but this will have no effect, unless you define your own CSS class - and remember - no dots in the class selector). The long answer is again no, because Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or view port size increases.
Rows must be placed within a .container
(fixed-width) or .container-fluid
(full-width) for proper alignment and padding.
.row
and .col-xs-4
are available for quickly making grid layouts. Less mixins can also be used for more semantic layouts..rows
..col-xs-4
..col-md-*
class to an element will not only affect its styling on medium devices but also on large devices if a .col-lg-*
class is not present.A possible solution to your problem is to define your own CSS class with desired width, let's say .col-half{width:XXXem !important}
then add this class to elements you want along with original Bootstrap CSS classes.