Skip to content

danra/aldryn-grid-foundation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 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.0 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

About

Grid plugin using the Foundation framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.2%
  • HTML 2.8%