0.0.20 bg_color for block

This commit is contained in:
SDE
2023-11-28 13:56:21 +03:00
parent 4e53dc40ae
commit aa79cbd743
5 changed files with 5 additions and 4 deletions

View File

@@ -1 +1 @@
style="width: 100%;{% if block.bg_image %} background: {{ block.bg_color }}{% endif %}"
style="width: 100%;{% if block.bg_image %} background: url({{ MEDIA_URL }}{{ block.bg_image }}); background-size: cover; background-repeat: no-repeat; background-position: top;{% elif block.bg_color %} background: {{ block.bg_color }}{% endif %}"

View File

@@ -1,7 +1,7 @@
{% load static %}
{% load i18n %}
{# h_w_u_w - how with us working #}
<div class="container_how_w_us_working">
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div class="large_txt h_w_u_w">
{{ block.title }}

View File

@@ -1,7 +1,7 @@
{% load static %}
{% load i18n %}
{# h_w_u_w - how with us working #}
<div class="container_how_w_us_working">
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div class="large_txt h_w_u_w">
{{ block.title }}

View File

@@ -1,5 +1,6 @@
{% load static %}
{% load i18n %}
<div class="cut-width">
<div class="block_service">
{% for service in services %}

View File

@@ -1,6 +1,6 @@
{% load static %}
{% load i18n %}
<div >
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div class="form_consultation_container" >
<div class="top_border_gradient"></div>