Skip to content

A multi-column plugin, that uses a common grid system.

License

Notifications You must be signed in to change notification settings

Keyintegrity/djangocms-grid

 
 

Repository files navigation

djangocms-grid

A Multi Column Plugin for Django CMS that uses a common grid system.

Installation

This plugin requires Django CMS 2.4 or higher to be properly installed.

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

Configure your grid

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

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

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

Usage

About

A multi-column plugin, that uses a common grid system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.7%
  • HTML 6.3%