Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

aldryn/aldryn-grid-foundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aldryn Grid (Foundation) ====================

A Multi Column Plugin for Aldryn based on the Foundation grid system.

Installation

# TODO

This plugin requires django CMS 3.2 or higher to be properly installed.

  • In your projects virtualenv, run pip install aldryn-grid-foundation.
  • Add 'aldryn_grid_foundation' to your INSTALLED_APPS setting.
  • Run manage.py migrate aldryn_grid_foundation.

Configure your grid

You can configure your grid using three numbers: total width of grid, number of columns, and width of the gutter in between each column:

ALDRYN_GRID_FOUNDATION_CONFIG = {
    'COLUMNS': 24,
    'TOTAL_WIDTH': 960,
    'GUTTER': 20,
}

The above example is the default, which, incidentally, matches the widely used foundation grid.

Usage