i want to create the same collection section as refrence on liquid code to add section. i ask chat gpt for code the given below the image
i want 12 collection section in a row on my pc view i want all 12 collection and mobile view i want 4 collection with slider
my website link - https://g8tiyz-ui.myshopify.com/
refrence website link - https://www.posterized.in
{% schema %}
{
"name": "Custom Collections",
"settings": [],
"blocks": [
{
"type": "collection",
"name": "Collection",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Choose Collection"
},
{
"type": "image_picker",
"id": "custom_image",
"label": "Custom Image"
},
{
"type": "url",
"id": "custom_url",
"label": "Custom URL"
}
]
}
],
"presets": [
{
"name": "Custom Collections"
}
]
}
{% endschema %}
## Shop by Collection
{% for block in section.blocks %}
{% if block.settings.collection != blank %}
{% if block.settings.custom_image != blank %}
{% elsif block.settings.collection.image != blank %}
{% else %}
{% endif %}
{{ block.settings.collection.title }}
{% endif %}
{% endfor %}

