Hi everyone! I used a service to create my shopify store but the product description is on the right. I want to change it to full width. I have tried several options I found online but it didn’t work. I copied the code of my “product.liquid” below. Here’s my website: https://pawpucci.com/products/pet-backpack-breathable-pet-dog-carrier-bag-for-large-dogs-bulldog-backpack-adjustable-travel-bags?variant=42462234181888 (password: refaro)
{%- liquid assign thumbs_align = section.settings.align assign ratio = product.media[0].preview_image.aspect_ratio if ratio < 1 assign thumbs_align = ‘center’ endif -%}
{%- case section.settings.image_width -%} {%- when ‘full’ -%} {%- assign product_image_width = ‘one-whole’ -%} {%- assign product_description_width = ‘one-whole’ -%} {%- when ‘narrow’ -%} {%- assign product_image_width = ‘medium-up–three-eighths’ -%} {%- assign product_description_width = ‘medium-up–five-eighths’ -%} {%- when ‘half’ -%} {%- assign product_image_width = ‘medium-up–one-half’ -%} {%- assign product_description_width = ‘medium-up–one-half’ -%} {%- else -%} {%- assign product_image_width = ‘medium-up–five-eighths’ -%} {%- assign product_description_width = ‘medium-up–three-eighths’ -%} {%- endcase -%}
{% if section.settings.product_breadcrumbs %}{{ ‘general.breadcrumbs.home’ | t }} {% if collection.handle %} › {% capture url %}{{ routes.collections_url }}/{{ collection.handle }}{% endcapture %} {{ collection.title | link_to: url }} {% endif %} › {{ product.title }}{% endif %}
{% if product.media.size > 0 %} {% if product.media.size > 1 %}
{% else %}
{% endif %} {% for media in product.media %} {% render ‘media’, media: media, section: section %} {% endfor %}
{% else %}
{% endif %} {% assign first_3d_model = product.media | where: “media_type”, “model” | first %} {% if first_3d_model %} {% render ‘icon-media-model’ %} {{ ‘products.product.view_in_space’ | t }} {% endif %} {% endfor %}{% for media in product.media %}
{%- if media.media_type == ‘model’ -%} {% render ‘icon-media-model’ %} {%- elsif media.media_type contains ‘video’ -%} {% render ‘icon-media-video’ %} {%- endif -%}
{% endfor %}
{%- endif -%}
{% for block in section.blocks %} {% case block.type %} {%- when ‘@app’ -%} {% render block %} {% when ‘title’ %} {% render ‘product-title-price’, product: product, block: block, section: section %} {% when ‘form’ %}
{% render ‘product-form’, product: product, block: block, section: section %}
{% when ‘description’ %}{%- if block.settings.style == ‘none’ -%} {{ product.description }} {% else %}
{% render ‘product-tabs’, section: section, block: block, product: product %}
{%- endif -%}
{% when ‘sharing’ %}{% render ‘social-sharing’, share_title: product.title, share_permalink: product.url, share_image: product.featured_media.preview_image %}
{% when ‘pickup’ %}
{% when ‘text’ %} {% if block.settings.title != ‘’ %}
{{ block.settings.title }}
{% endif %} {% endcase %} {% endfor %}
{% render ‘product-info’, product: product %} {% if section.settings.zoom_enable %} {% render ‘zoom-pswp’ %} {% endif %}
{% assign current_variant = product.selected_or_first_available_variant %} {% schema %} { “name”: “Product page”, “settings”: [ { “type”: “header”, “content”: “Layout” }, { “type”: “select”, “id”: “image_width”, “label”: “Image width”, “default”: “wide”, “options”: [ { “value”: “full”, “label”: “Full width image”}, { “value”: “wide”, “label”: “Wide image”}, { “value”: “half”, “label”: “Balanced”}, { “value”: “narrow”, “label”: “Narrow image”} ] }, { “type”: “select”, “id”: “align”, “label”: “Text alignment”, “default”: “left”, “options”: [ { “value”: “center”, “label”: “Center”}, { “value”: “left”, “label”: “Left”} ] }, { “type”: “checkbox”, “id”: “product_breadcrumbs”, “label”: “Show breadcrumbs”, “default”: true }, { “type”: “header”, “content”: “Media”, “info”: “Learn more about media types” }, { “type”: “checkbox”, “id”: “enable_video_looping”, “label”: “Enable video looping”, “default”: true }, { “type”: “checkbox”, “id”: “zoom_enable”, “label”: “Enable image zoom”, “default”: true } ], “blocks”: [ { “type”: “@app” }, { “type”: “form”, “name”: “Form”, “limit”: 1, “settings”: [ { “type”: “select”, “id”: “variant_form”, “label”: “Variant option style”, “options”: [ { “value”: “button”, “label”: “Buttons”}, { “value”: “dropdown”, “label”: “Dropdown”} ] }, { “type”: “checkbox”, “id”: “show_quantity”, “label”: “Show quantity selection”, “default”: true }, { “type”: “checkbox”, “id”: “show_remaining”, “label”: “Show inventory countdown”, “default”: true, “info”: “Count down the last 10 items in stock.” }, { “type”: “checkbox”, “id”: “enable_payment_button”, “label”: “Show dynamic checkout button”, “info”: “Lets customers check out directly using a familiar payment method. Learn More”, “default”: true }, { “type”: “header”, “content”: “Subscriptions”, “info”: “Learn more about subscriptions” }, { “type”: “checkbox”, “id”: “subscriptions_enable_selectors”, “label”: “Enable subscription selectors”, “info”: “Shown on products with subscription options”, “default”: true }, { “type”: “header”, “content”: “Size popup” }, { “id”: “info_page”, “type”: “page”, “label”: “Select page”, “info”: “This popup will show on every product.” } ] }, { “type”: “description”, “name”: “Product description”, “limit”: 1, “settings”: [ { “type”: “select”, “id”: “style”, “label”: “Tab style”, “default”: “accordions”, “options”: [ { “value”: “none”, “label”: “None” }, { “value”: “tabs”, “label”: “Tabs” }, { “value”: “accordions”, “label”: “Accordions” } ], “info”: “Add tab content below. Lean more about product tabs” }, { “type”: “text”, “id”: “title_1”, “label”: “Tab heading”, “default”: “Information” }, { “type”: “richtext”, “id”: “raw_content_1”, “label”: “Tab text”, “default”: "
This content type will accept rich text to help with adding styles and links to additional pages or content. Use this to add supplementary information to help your buyers.
" }, { “type”: “text”, “id”: “title_2”, “label”: “Tab heading”, “default”: “Details” }, { “type”: “richtext”, “id”: “raw_content_2”, “label”: “Tab text”, “default”: "
You can use product metafields to assign content to this tab that is unique to an individual product. Use tabs to highlight unique features, sizing information, or other sales information.
" }, { “type”: “text”, “id”: “title_3”, “label”: “Tab heading” }, { “type”: “richtext”, “id”: “raw_content_3”, “label”: “Tab text” }, { “type”: “text”, “id”: “title_4”, “label”: “Tab heading” }, { “type”: “richtext”, “id”: “raw_content_4”, “label”: “Tab text” }, { “type”: “text”, “id”: “title_5”, “label”: “Tab heading” }, { “type”: “richtext”, “id”: “raw_content_5”, “label”: “Tab text” } ] }, { “type”: “sharing”, “name”: “Sharing”, “limit”: 1, “settings”: [ { “type”: “paragraph”, “content”: “Show social sharing buttons” } ] }, { “type”: “pickup”, “name”: “Local pickup”, “limit”: 1, “settings”: [ { “type”: “paragraph”, “content”: “Show customers where they can pick up the product. Learn more” } ] }, { “type”: “title”, “name”: “Title and price”, “limit”: 1, “settings”: [ { “type”: “checkbox”, “id”: “product_show_vendor”, “label”: “Show vendor”, “default”: false } ] }, { “type”: “text”, “name”: “Text”, “settings”: [ { “type”: “richtext”, “id”: “title”, “label”: “Text” } ] } ] } {% endschema %}