Skip to content

Commit

Permalink
Update image-banner.liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Nov 1, 2022
1 parent 287add2 commit e9cd340
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sections/image-banner.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
{%- case block.type -%}
{%- when 'heading' -%}
<h2 class="banner__heading {{ block.settings.heading_size }}" {{ block.shopify_attributes }}>
<span>{{ block.settings.heading | escape }}</span>
<span>{{ block.settings.heading }}</span>
</h2>
{%- when 'text' -%}
<div class="banner__text {{ block.settings.text_style }}" {{ block.shopify_attributes }}>
<span>{{ block.settings.text | escape }}</span>
<span>{{ block.settings.text }}</span>
</div>
{%- when 'buttons' -%}
<div class="banner__buttons{% if block.settings.button_label_1 != blank and block.settings.button_label_2 != blank %} banner__buttons--multiple{% endif %}" {{ block.shopify_attributes }}>
Expand Down Expand Up @@ -311,7 +311,7 @@
"limit": 1,
"settings": [
{
"type": "text",
"type": "inline_richtext",
"id": "heading",
"default": "Image banner",
"label": "t:sections.image-banner.blocks.heading.settings.heading.label"
Expand Down Expand Up @@ -344,7 +344,7 @@
"limit": 1,
"settings": [
{
"type": "text",
"type": "richtext",
"id": "text",
"default": "Give customers details about the banner image(s) or content on the template.",
"label": "t:sections.image-banner.blocks.text.settings.text.label"
Expand Down

0 comments on commit e9cd340

Please sign in to comment.