Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/source/how-to/extend-frontend-plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Existing components can be extended through two type of class mixins.
``djangocms-frontend`` looks for these mixins in two places:

#. In the theme module. Its name is specified by the setting
``DJANGOCMS_FRONTEND_THEME`` and defaults to ``djangocms_frontend``.
``DJANGOCMS_FRONTEND_THEME`` and defaults to ``theme``.
For a theme app called ``theme`` and the bootstrap5 framework this
would be ``theme.frontends.bootstrap5.py``.

Expand Down Expand Up @@ -233,9 +233,9 @@ Then, a new template is needed (in
backdrop-filter: blur({{ instance.container_blur }}px);
{% endif %}"
{% endif %}>
{% if instance.image %}
{% if instance.container_image %}
<div class="image"
style="background-image: url('{{ instance.image.url }}');
style="background-image: url('{{ instance.container_image.url }}');
background-position: {{ instance.image_position|default:'center center' }};
background-repeat: no-repeat;background-size: cover;
{% if instance.container_blur %}
Expand Down
Loading