Remove row in donate header

This commit is contained in:
hiro 2020-10-22 18:39:37 +02:00
parent e88609f027
commit b530f5b106

View File

@ -11,13 +11,13 @@
{% endif %}
<div class="row">
{% if this.html == 'donate-form.html' and this.header_image|length %}
<div class="col-12 content-center pt-1 pt-sm-0 donate-has-image">
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
<img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
{% set idx = this.header_image.index(".png") %}
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
<img src="{{ header_mobile | asseturl }}" class="img-fluid" />
</div>
<div class="col-12 content-center pt-1 pt-sm-0 donate-has-image">
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
<img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
{% set idx = this.header_image.index(".png") %}
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
<img src="{{ header_mobile | asseturl }}" class="donate-header-image-mobile img-fluid" />
</div>
{% else %}
<div class="col-12 content-center pt-5">
<div class="row">