Hi,
I have created a 3 column section in Shopify that looks great on desktop but when it goes to mobile it is still 3 columns but I only want it to be one column. Below is the code.
## {{ section.settings.title | escape }}
{% if section.settings.heading_text != blank %}
## {{ section.settings.heading_text | escape }}
{% endif %}
{{ block.settings.paragraph_text }}
{%- if section.blocks.size > 0 -%}
{%- for block in section.blocks -%}
- {%- if block.settings.link != blank -%}
{%- endif -%}
{%- if block.settings.image != blank -%}
{{ block.settings.image | img_url: '100x100', scale: 2 | img_tag: block.settings.image.alt }}
{%- else -%}
{{ 'logo' | placeholder_svg_tag: 'placeholder-svg' }}
{%- endif -%}
{% if block.settings.text %}
#### {{block.settings.title}}
{{ block.settings.text }}
{%- endif -%}
{%- if block.settings.link != blank -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{% schema %}
{
"name": "Logo List",
"max_blocks": 6,
"settings": [
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Logo List"
}
],
"blocks": [
{
"type": "logo_image",
"name": "Logo",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Logo image"
},
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Section Heading"
},
{
"type": "richtext",
"id": "text",
"label": "Description",
"default": "
Add your description here
"
}
]
}
],
"presets": [
{
"name": "Logo list",
"category": "Image",
"blocks": [
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
}
]
}
]
}
{% endschema %}
Can anyone please help me with this?