Hi there i mam working on Dawn theme and want to show collection like
above picture this section is also taken from a website which is built on Dawn theme can anyone guide me how to achieve this
A user working with Shopify’s Dawn theme seeks guidance on creating a custom collection grid layout, sharing a reference screenshot from another Dawn-based website.
Solutions Provided:
Current Status:
Hi there i mam working on Dawn theme and want to show collection like
you can use custom liquid to create something like this..
{% schema %}
{
"name": "Custom Collection Grid",
"settings": [
{
"type": "number",
"id": "columns",
"label": "Number of columns",
"default": 4,
"min": 2,
"max": 6
},
{
"type": "checkbox",
"id": "show_description",
"label": "Show collection description",
"default": false
}
],
"blocks": [
{
"type": "collection",
"name": "Collection",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Collection"
}
]
}
],
"presets": [
{
"name": "Custom Collection Grid",
"category": "Collections"
}
]
}
{% endschema %}
can you guide me where to put this code
Could you please share the sample store link where you got the screenshot from so I can investigate it further?
Looking forward to hearing from you soon. Thank you!
Best,
Daisy - Avada Support Team.
Go to online store, Click on Customize add new section where you want to show collections there is a custom liquid option in sections paste this code in custom liquid section
{% for collection in collections %}
{% if collection.image %}
{% endif %}
{% endfor %}
I mean the sample store from which you got the screenshot. This screenshot I mean: https://prnt.sc/IplzVia7te_H