pull/1/head
Jan Umbach 2024-05-29 18:14:39 +02:00
parent eece357ad6
commit 8623802398
1 changed files with 2 additions and 2 deletions

View File

@ -81,9 +81,9 @@
id="Slide-{{ section.id }}-{{ media.id }}{{ id_append }}"
class="product__media-item grid__item slider__slide{% if single_media_visible %} product__media-item--single{% endif %}{% if isCorrectImageWithMatchingAlt == true and first_videoShown == false and media.media_type == "video" %} is-active{% endif %}{% if media.media_type != 'image' %} product__media-item--full{% endif %}{% if section.settings.hide_variants and variant_images contains media.src %} product__media-item--variant{% endif %}{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--fade-in{% endif %}"
data-media-id="{{ section.id }}-{{ media.id }}"
{% if not isCorrectImageWithMatchingAlt %}
{% unless isCorrectImageWithMatchingAlt %}
style="display: none;"
{% endif %}
{% endunless %}
thumbnail-alt-mobile={{ media.alt }}>
{%- liquid
assign media_position = media_position | default: 0 | plus: 1