Hi @jbslide ,
Please follow the steps below:
- Step 1: Create a new section file named: featured-list-collections
{% if section.settings.fullwidth == false %}
{% endif %}
{% if section.settings.heading != blank %}
## {{ section.settings.heading }}
{% endif %}
{% if section.blocks.size > 0 %}
{% for block in section.blocks %}
{% assign aos_delay = forloop.index | times: 100 %}
{% if block.settings.link != blank %}
{% endif %}
{% if block.settings.image != blank %}
{% endif %}
{% if block.settings.title != blank %}
{{ block.settings.title }}
{% endif %}
{% if block.settings.link != blank %}
{% endif %}
{% endfor %}
{% endif %}
{% if section.settings.fullwidth == false %}
{% endif %}
{% schema %}
{
"name": "Collection List Section",
"class": "index-section index-section--flush",
"settings": [
{
"type": "text",
"id": "heading",
"label": "Heading",
"default": "Collection List"
},
{
"type": "checkbox",
"id": "fullwidth",
"label": "Set Div fullwidth?",
"default": false
},
{
"type": "checkbox",
"id": "background",
"label": "Add Background",
"default": false
},
{
"type": "color",
"id": "background_color",
"label": "Sections Background Color",
"info": "This option allows you to set different background color than default one for the section.",
"default": "#f8f8f8"
},
{
"type": "checkbox",
"id": "top_margin",
"label": "Add top margin?",
"info": "White empty space above section",
"default": false
},
{
"type": "checkbox",
"id": "bottom_padding",
"label": "Add bottom margin?",
"info": "White empty space below section",
"default": false
},
{
"type": "checkbox",
"id": "bottom_border",
"label": "Add bottom border?",
"info": "Border line below section",
"default": false
}
],
"blocks": [
{
"type": "collection",
"name": "Collection",
"settings": [
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Collection"
},
{
"type": "image_picker",
"id": "image",
"label": "Image",
"info": "brand image"
},
{
"type": "url",
"id": "link",
"label": "Link URL"
}
]
}
],
"presets": [{
"name": "Collection List Section",
"category": "Collection List Section",
"blocks": [
{
"type": "collection"
},
{
"type": "collection"
}
]
}]
}
{% endschema %}
- Step 3: Now you can go to Customize and add ‘Collection List Section’ it should display fine.
Hope it helps!