From 981739b3cd33f81f2fc487cb61d86e8b4d1ae9aa Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Sat, 29 Jun 2024 12:46:20 +0200 Subject: [PATCH] image with text link --- sections/image-with-text.liquid | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/sections/image-with-text.liquid b/sections/image-with-text.liquid index 17068e9..ff4e201 100644 --- a/sections/image-with-text.liquid +++ b/sections/image-with-text.liquid @@ -36,13 +36,18 @@ %}
- <{% if button_link is empty %}div{% else %}a href="{{ button_link }}" {% endif %} class="image-with-text image-with-text--{{ section.settings.content_layout }} isolate{% if settings.text_boxes_border_thickness > 0 and settings.text_boxes_border_opacity > 0 and settings.media_border_thickness > 0 and settings.media_border_opacity > 0 %} collapse-borders{% endif %}{% unless section.settings.color_scheme == section.settings.section_color_scheme and settings.media_border_thickness > 0 and settings.text_boxes_shadow_opacity == 0 and settings.text_boxes_border_thickness == 0 or settings.text_boxes_border_opacity == 0 %} collapse-corners{% endunless %}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"> + {% if button_link is empty %} +