Skip to content

django-cms-plugins/djangocms-css-background

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Background

Description

css_background is a django-cms plugin which allow you to edit css background image or color from the edit mode

Depends

Usage

you can define your template like this:

{% load placeholder_tags placeholder_attr %}

<div style="{% placeholder_attr 'My Background Css Placeholder' 'CssBackground' 'css_background' %}">
  {% placeholder 'My Background Css Placeholder' %}
</div>

after that set the provide a CSS Background plugin for this placeholder, and chose an image, or set rgb or rgba for a colored background

About

a django-cms plugin which allow you to edit css background image or color from the edit mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors