Hello,
All product images on product page have space on the sides on mobile view. I would like to see the product image with full width. Thanks in advance!
Store: https://groupedamis.com/
Hello,
All product images on product page have space on the sides on mobile view. I would like to see the product image with full width. Thanks in advance!
Store: https://groupedamis.com/
@Winnne0195 - it is strictly bound in outer div tag which has space around it, if we make it full width then even the text will start from left
Hello @suyash1 ,
Thank you for your reply. I understand, I will leave it like this. Do you know how to add a image counter for mobile view like shown on the below screenshot?
@Winnne0195 - it looks like image thumbnail counter, please check slider code to check if you have an option to enable it
I do not have a code for slider and also no possibility to change it in the GUI. I found below code, is there maybe something I can change to add image counter?
{% comment %}
Parameters
context - used to determine whether on the featured product or main product template
sizes
sizeVariable
fallback
{% endcomment %}
{%- liquid
if context == ‘main-product’
assign loading = ‘eager’
endif
-%}
{%- assign featured_media = product.selected_or_first_available_variant.featured_media | default: product.featured_media -%}
{%- unless product.empty? -%}
{%- assign first_3d_model = product.media | where: ‘media_type’, ‘model’ | first -%}
{%- if first_3d_model -%}
<button
aria-label=“{{ ‘products.product.view_in_space_label’ | t }}”
class=“product-single__view-in-space”
data-shopify-xr
data-shopify-model3d-id=“{{ first_3d_model.id }}”
data-shopify-title=“{{ product.title }}”
data-shopify-xr-hidden
{{ ‘products.product.view_in_space’ | t }}
{%- endif -%}
{% if thumbnail_height == ‘fixed’ %}
{% style %}
.product__photos-{{ section_id }} .product__thumbs:not(.product__thumbs–below) {
min-height: 400px;
max-height: 400px;
}
@media screen and (max-width: 798px) {
.product__photos-{{ section_id }} .product__thumbs:not(.product__thumbs–below) {
min-height: 300px;
max-height: 300px;
}
}
{% endstyle %}
{% endif %}
{%- else -%}
{%- endunless -%}