This theme is build on Twitter's Bootstrap Framework. You can learn more about the framework and it's features in it's own nifty documentation. If you're not familiar with Bootstrap, for your convenience we included some of the information here, but it's highly recommended that you learn straight from Twitter's Bootstrap documentation.
The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive version, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.
For a simple two column layout, create a .row
and add the appropriate number of .col-md-*
columns. As this is a 12-column grid, each .col-md-*
spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).
<div class="row"> <div class="col-md-4">...</div> <div class="col-md-8">...</div> </div>
Given this example, we have .col-md-4
and .col-md-8
, making for 12 total columns and a complete row.
To nest your content with the default grid, add a new .row
and set of .col-md-*
columns within an existing .col-md-*
column. Nested rows should include a set of columns that add up to the number of columns of its parent.
.col-md-12
.col-md-9
.col-md-3
<div class="row"> <div class="col-md-12"> Level 1 column <div class="row"> <div class="col-md-9">Level 2</div> <div class="col-md-3">Level 2</div> </div> </div> </div>