This is a generic listing of common classes that can be used on the front end to manipulate the UI in a basic way via "additional classes" option on widgets.

URL: /style-guide-grid-system

Grid System

Using the standard grid system to create layouts.  Within a grid-row, the space is split up into columns of various widths.  




Example

Class

Width

col-1-1100%
col-1-250%
col-1-333.333%
col-1-425%
col-1-520%
col-1-616.667%

and so on...

Within a row

You can use the class names in combination, for example 1/3 + 2/3, as long as the row essentially adds up to 100% you'll have symmetrical layouts.


Example Grid


Example Grid
<div class="grid">
    <!-- One Column Width -->
    <div class="grid-row">
        <div class="col-1-1"></div>
    </div>

    <!-- Two Column Width -->
    <div class="grid-row">
        <div class="col-1-2"></div>
        <div class="col-1-2"></div>
    </div>

    <!-- Three Column Width -->
    <div class="grid-row">
        <div class="col-1-3"></div>
        <div class="col-2-3"></div>
    </div>

    <!-- Four Column Width -->
    <div class="grid-row">
        <div class="col-1-4"></div>
        <div class="col-3-4"></div>
    </div>

    <!-- Six Column Width -->
    <div class="grid-row">
        <div class="col-1-6"></div>
        <div class="col-1-6"></div>
        <div class="col-1-6"></div>
        <div class="col-1-6"></div>
        <div class="col-1-6"></div>
        <div class="col-1-6"></div>
    </div>

    <!-- Eight Column Width -->
    <div class="grid-row">
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
        <div class="col-1-8"></div>
    </div>

    <!-- Twelve Column Width -->
    <div class="grid-row">
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
        <div class="col-1-12"></div>
    </div>
</div>




Related help