test
parent
373899d5ce
commit
131e08a138
|
@ -77,7 +77,7 @@
|
||||||
{%- unless media.id == product.selected_or_first_available_variant.featured_media.id -%}
|
{%- unless media.id == product.selected_or_first_available_variant.featured_media.id -%}
|
||||||
<li
|
<li
|
||||||
id="Slide-{{ section.id }}-{{ media.id }}{{ id_append }}"
|
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 media_position == 0 and forloop.index == 1 %} 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 %}"
|
class="product__media-item grid__item slider__slide{% if single_media_visible %} product__media-item--single{% endif %}{% if media_position == first_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 }}"
|
data-media-id="{{ section.id }}-{{ media.id }}"
|
||||||
{% if product.selected_or_first_available_variant.featured_image.alt != media.alt and product.selected_or_first_available_variant.featured_image.alt != blank %}
|
{% if product.selected_or_first_available_variant.featured_image.alt != media.alt and product.selected_or_first_available_variant.featured_image.alt != blank %}
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
|
|
Loading…
Reference in New Issue