Hello everyone,
I am trying to achieve the following layout on my website using Impulse theme

I tried to create a new section using list-collections-template from my theme´s section code, but its not showing up as a new section in my customization options
This is my section code:
{%- liquid
assign per_row = section.settings.grid
assign paginate_by = per_row | times: 7
case section.settings.grid
when '1'
assign grid_item_width = ''
when '2'
assign grid_item_width = 'medium-up--one-half'
when '3'
assign grid_item_width = 'small--one-half medium-up--one-third'
when '4'
assign grid_item_width = 'small--one-half medium-up--one-quarter'
when '5'
assign grid_item_width = 'small--one-half medium-up--one-fifth'
endcase
-%}
{%- paginate collections by paginate_by -%}
{%- render 'breadcrumbs' -%}
{%- if section.settings.title_enable -%}
{%- endif -%}
{%- if section.settings.display_type == 'all' -%}
{%- liquid
case section.settings.sort
when 'products_high' or 'products_low'
assign collections = collections | sort: 'all_products_count'
when 'date' or 'date_reversed'
assign collections = collections | sort: 'published_at'
endcase
-%}
{%- if section.settings.sort == 'products_low' or section.settings.sort == 'date' or section.settings.sort == 'alphabetical' -%}
{%- for collection in collections -%}
{%- render 'collection-grid-item', collection: collection, grid_item_width: grid_item_width -%}
{%- endfor -%}
{%- else -%}
{%- for collection in collections reversed -%}
{%- render 'collection-grid-item', collection: collection, grid_item_width: grid_item_width -%}
{%- endfor -%}
{%- endif -%}
{%- else -%}
{%- for block in section.blocks -%}
{%- assign collection = collections[block.settings.collection] -%}
{%- render 'collection-grid-item', collection: collection, grid_item_width: grid_item_width, block: block -%}
{%- endfor -%}
{%- endif -%}
{%- if paginate.pages > 1 and section.settings.display_type == 'all' -%}
{%- render 'pagination', paginate: paginate -%}
{%- endif -%}
{%- endpaginate -%}
{% schema %}
{
"name": "t:sections.list-collections-template.name",
"settings": [
{
"type": "checkbox",
"id": "title_enable",
"label": "t:sections.list-collections-template.settings.title_enable.label",
"default": true
},
{
"type": "paragraph",
"content": "t:sections.list-collections-template.settings.content"
},
{
"type": "radio",
"id": "display_type",
"label": "t:sections.list-collections-template.settings.display_type.label",
"default": "all",
"options": [
{
"value": "all",
"label": "t:sections.list-collections-template.settings.display_type.options.all.label"
},
{
"value": "selected",
"label": "t:sections.list-collections-template.settings.display_type.options.selected.label"
}
]
},
{
"type": "select",
"id": "sort",
"label": "t:sections.list-collections-template.settings.sort.label",
"info": "t:sections.list-collections-template.settings.sort.info",
"default": "alphabetical",
"options": [
{
"value": "products_high",
"label": "t:sections.list-collections-template.settings.sort.options.products_high.label"
},
{
"value": "products_low",
"label": "t:sections.list-collections-template.settings.sort.options.products_low.label"
},
{
"value": "alphabetical",
"label": "t:sections.list-collections-template.settings.sort.options.alphabetical.label"
},
{
"value": "alphabetical_reversed",
"label": "t:sections.list-collections-template.settings.sort.options.alphabetical_reversed.label"
},
{
"value": "date",
"label": "t:sections.list-collections-template.settings.sort.options.date.label"
},
{
"value": "date_reversed",
"label": "t:sections.list-collections-template.settings.sort.options.date_reversed.label"
}
]
},
{
"type": "select",
"id": "grid",
"label": "t:sections.list-collections-template.settings.grid.label",
"default": "4",
"options": [
{
"value": "1",
"label": "1"
},
{
"value": "2",
"label": "2"
},
{
"value": "3",
"label": "3"
},
{
"value": "4",
"label": "4"
},
{
"value": "5",
"label": "5"
}
]
}
],
"blocks": [
{
"type": "collection",
"name": "t:sections.list-collections-template.blocks.collection.name",
"settings": [
{
"label": "t:sections.list-collections-template.blocks.collection.settings.collection.label",
"id": "collection",
"type": "collection"
}
]
}
]
}
{% endschema %}
I would like to know how can I create a new section showing up to 11 colors like below, can the swipe button be possible?
Any help will be really appreciated,
