Hey guys! I’ve searched the web and can’t resolve the problem. I would like to have a full-width page on desktop, not till the borders but so it’s in the middle. I’ve inserted a code that I was able to find but I have a problem on product images showing incorrectly on desktop. I would like to have them like on mobile. Thanks for the help in advance.
https://trailbed.us/products/airmat
Here is also the code from product-template.liquid
{% assign current_variant = product.selected_or_first_available_variant %}
{% assign featured_image = current_variant.featured_image | default: product.featured_image %}
{% assign on_sale = false %}
{% if current_variant.compare_at_price > current_variant.price %}
{% assign on_sale = true %}
{% endif %}
{% assign sold_out = true %}
{% if current_variant.available %}
{% assign sold_out = false %}
{% endif %}
{% capture variantStatus %}
{% if sold_out == true %}
variant-soldout
{% else %}
variant-available
{% endif %}
{% endcapture %}
{%- assign enable_zoom = section.settings.enable_zoom -%}
{%- assign product_image_zoom_size = ‘1024x1024’ -%}
{%- assign product_image_scale = ‘2’ -%}
{% capture product_header_layout %}
{% if section.settings.product_vendor %}
{{ product.vendor }}
{% endif %}{% if settings.review_badge == ‘review_badge_above’ %}
{% include ‘review-badge’, badge_template: ‘product’ %}
{% endif %}
{% if template != "product" %}
{% endif %}
{% unless section_onboarding %}
{{ product.title }}
{% else %}
{{ title }}
{% endunless %}
{{ product.title }}
{% else %}
{{ title }}
{% endunless %}
{% if template != “product” %}
{% endif %}
{% if settings.review_badge == ‘review_badge_under’ %}
{% include ‘review-badge’, badge_template: ‘product’ %}
{% endif %}
{% endcapture %}
{% if section_onboarding %}
{{ ‘product-1’ | placeholder_svg_tag: ‘placeholder-svg’ }}
{% else %}
{% capture img_id_class %}product-single__photo-{{ featured_image.id }}{% endcapture %}
{% capture zoom_img_id %}FeaturedImageZoom-{{ featured_image.id }}-{{ image.id }}{% endcapture %}
{% capture wrapper_id %}ProductImageWrapper-{{ featured_image.id }}{% endcapture %}
{% comment %}
Display current variant image
{% endcomment %}
{% comment %}
Display variant image
{% endcomment %}
{% for image in product.images %}
{% unless image contains featured_image %}
{% capture img_id_class %}product-single__photo-{{ image.id }}{% endcapture %}
{% capture zoom_img_id %}FeaturedImageZoom-{{ section.id }}-{{ image.id }}{% endcapture %}
{% capture wrapper_id %}ProductImageWrapper-{{ image.id }}{% endcapture %}
{% if product.images.size > 1 %}
{% endif %}<span id=“ProductPrice”
class=“product-single__price{% if on_sale %} on-sale{% endif %}”
itemprop=“price”
content=“{{ current_variant.price | divided_by: 100.00 }}”
{% unless current_variant.available %}aria-hidden=“true”{% endunless %}>
{{ current_variant.price | money }}
{% endif %}
{% if settings.position_currency_converter == “product” %}{% include “currency-selector” %}{% endif %}
{% if section_onboarding %}
{% capture “form_id” %}AddToCartForm–{{ section.id }}{%- endcapture %}
{% form ‘product’, product, class:form_classes, id:form_id %}
{% unless product.has_only_default_variant %}
{% if section.settings.product_selector == ‘radio’ %}
{% assign option_index = forloop.index %} {% for value in option.values %}{% assign variant_label_state = true %}
{% if product.options.size == 1 %}
{% unless product.variants[forloop.index0].available %}
{% assign variant_label_state = false %}
{% endunless %}
{% endif %}
<input type=“radio”
{% if option.selected_value == value %} checked=“checked”{% endif %}
{% unless variant_label_state %} disabled=“disabled”{% endunless %}
value=“{{ value | escape }}”
data-index=“option{{ option_index }}”
name=“{{ option.name | handleize }}”
class=“single-option-selector__radio{% unless variant_label_state %} disabled{% endunless %}”
id=“ProductSelect–{{ section.id }}-option-{{ option.name | handleize }}-{{ value | escape }}”>
<label for="ProductSelect–{{ section.id }}-option-{{ option.name | handleize }}-{{ value | escape }}"class=“btn btn–small {% unless variant_label_state %} disabled{% endunless %}”>{{ value | escape }}
{% endfor %}
{% if section.settings.quantity_enabled %}
{% if section.settings.social_sharing_products %}
{% include ‘social-sharing’, share_title: product.title, share_permalink: product.url, share_image: product %}
{% endif %}
{% if section.settings.show_product_tags %}
{% for tag in product.tags %}
{% if forloop.first %}
{% if template != “product” %}
{{ 'products.product.full_details' | t }} {% endif %}