m |
m |
||
| Line 137: | Line 137: | ||
</div> | </div> | ||
<div class="row"> | <div class="row"> | ||
| − | <div class="span4" span style="background-color:#CCCCCC | + | <div class="span4" span style="background-color:#CCCCCC;"> |
Content | Content | ||
</div> | </div> | ||
| − | <div class="span8" span style="background-color:#CCCCCC | + | <div class="span8" span style="background-color:#CCCCCC;"> |
Content section header | Content section header | ||
<div class="row"> | <div class="row"> | ||
| − | <div class="span6" span style="background-color:#EEEEEE | + | <div class="span6" span style="background-color:#EEEEEE;"> |
Content 1 | Content 1 | ||
</div> | </div> | ||
| − | <div class="span6" span style="background-color:#EEEEEE | + | <div class="span6" span style="background-color:#EEEEEE;"> |
Content 2 | Content 2 | ||
</div> | </div> | ||
The Grid consists of rows and columns. The row is simply given to the div tag as a class called "row", and it is filled with "columns". There are 12 possible columns in a row, and they are given to the div tag as a class called "span(1-12)". Depending upon the number you choose immediately following the "span" class determines how much space in the row that column or "span" will take up.
The following sections allow Grid syntax: Content Box, Content and Grid Layout. Content and Grid Layout, by default will use Wordpress's built in text editor to define the Grid, while the Content Box will use the Textarea field as the editor.
<div class="row">
<div class="span4">
<p>Content</p>
</div>
<div class="span4">
<p>Content</p>
</div>
<div class="span4">
<p>Content</p>
</div>
</div>
<div class="row">
<div class="span4">
</div>
<div class="span8">
<div class="row">
<div class="span6"><div>
<div class="span6"><div>
</div>
</div>