Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grid plugin using the Foundation framework
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
aldryn_grid_foundation
LICENSE.txt
MANIFEST.in
README.rst
app.yaml
setup.py

README.rst

Aldryn Grid (Foundation)

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

Installation

# TODO

This plugin requires django CMS 2.4 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

Something went wrong with that request. Please try again.