Apologies I couldn’t see “small–one–half”. I have pasted my code from featured-collection.liquid if that helps:
{%- assign per_row = section.settings.per_row -%}
{%- assign product_limit = per_row | times: section.settings.rows -%}
{%- assign collection = collections[section.settings.home_featured_products] -%}
{%- if section.settings.divider -%}
{%- endif -%}
{%- if section.settings.title != blank -%}
{%- endif -%}
{%- liquid
capture gridView
render 'products_per_row', products_per_row: per_row, style: 'fractions'
endcapture
if section.settings.mobile_scrollable
assign fallback = ‘39vw’
else
assign fallback = ‘variable’
endif
-%}
{%- if section.settings.home_featured_products == blank or collections[section.settings.home_featured_products].empty? or collections[section.settings.home_featured_products].products_count == 0 -%}
{%- unless emptyState -%}
{%- assign emptyState = true -%}
{%- endunless -%}
{%- for i in (1..product_limit) -%}
{%- endfor -%}
{%- else -%}
{%- for product in collections[section.settings.home_featured_products].products limit: product_limit -%}
{%- render ‘product-grid-item’,
product: product,
collection: collection,
per_row: per_row,
quick_shop_enable: settings.quick_shop_enable,
fallback: fallback,
-%}
{%- endfor -%}
{%- if section.settings.view_all -%}
{%- if section.settings.rows > 1 -%}
{%- endif -%}
{%- if section.settings.mobile_scrollable -%}
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- if section.settings.divider -%}{%- endif -%}
{% schema %}
{
“name”: “t:sections.featured-collection.name”,
“class”: “index-section”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “t:sections.featured-collection.settings.title.label”,
“default”: “Featured collection”
},
{
“type”: “collection”,
“id”: “home_featured_products”,
“label”: “t:sections.featured-collection.settings.home_featured_products.label”
},
{
“type”: “range”,
“id”: “per_row”,
“label”: “t:sections.featured-collection.settings.per_row.label”,
“default”: 4,
“min”: 1,
“max”: 5,
“step”: 1
},
{
“type”: “range”,
“id”: “rows”,
“label”: “t:sections.featured-collection.settings.rows.label”,
“default”: 1,
“min”: 1,
“max”: 5,
“step”: 1
},
{
“type”: “checkbox”,
“id”: “mobile_scrollable”,
“label”: “t:sections.featured-collection.settings.mobile_scrollable.label”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “view_all”,
“label”: “t:sections.featured-collection.settings.view_all.label”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “divider”,
“label”: “t:sections.featured-collection.settings.divider.label”,
“default”: false
}
],
“presets”: [
{
“name”: “t:sections.featured-collection.presets.featured_collection.name”
}
],
“blocks”: ,
“disabled_on”: {
“groups”: [“footer”, “header”, “custom.popups”]
}
}
{% endschema %}