A Plugin for django CMS to add CSS classes to other plugins
This plugin requires django CMS
2.4 or higher to be properly installed.
- In your projects
virtualenv
_, runpip install djangocms-style
. - Add
'djangocms_style'
to yourINSTALLED_APPS
setting. - Run
manage.py migrate cmsplugin_style
.
You can define styles in your settings.py:
CMS_STYLE_NAMES = (
('info', _("info")),
('new', _("new")),
('hint', _("hint")),
)
After that you can place other plugins inside this style plugin. It will create a div with a class that was prior selected around this plugin.
If you want to help translate the plugin please do it on transifex:
https://www.transifex.com/projects/p/django-cms/resource/djangocms-style/