Skip to content

Commit

Permalink
Update wrapper tags for Image Banner & Slideshow.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr committed Feb 22, 2023
1 parent 4a018e9 commit c5535db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions sections/image-banner.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,10 @@
{%- for block in section.blocks -%}
{%- case block.type -%}
{%- when 'heading' -%}
<h2 class="banner__heading inline-richtext {{ block.settings.heading_size }}" {{ block.shopify_attributes }}>
<span>{{ block.settings.heading }}</span>
</h2>
<h2 class="banner__heading inline-richtext {{ block.settings.heading_size }}" {{ block.shopify_attributes }}>{{ block.settings.heading }}</h2>
{%- when 'text' -%}
<div class="banner__text rte {{ block.settings.text_style }}" {{ block.shopify_attributes }}>
<span>{{ block.settings.text }}</span>
<p>{{ block.settings.text }}</p>
</div>
{%- when 'buttons' -%}
<div
Expand Down
2 changes: 1 addition & 1 deletion sections/slideshow.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
{%- endif -%}
{%- if block.settings.subheading != blank -%}
<div class="banner__text rte" {{ block.shopify_attributes }}>
<span>{{ block.settings.subheading }}</span>
<p>{{ block.settings.subheading }}</p>
</div>
{%- endif -%}
{%- if block.settings.button_label != blank -%}
Expand Down

0 comments on commit c5535db

Please sign in to comment.