Hi,
I’ve trying for so long to have an icon list like this one.
I’ve found a code provided from Shopify, but at this point it won’t let me personalize de size of the icons, and as well i’ve having issues with the align items (they should appear align centered and centered in the page)
## {{ section.settings.title | escape }}
{%- if section.blocks.size > 0 -%}
{%- for block in section.blocks -%}
- {%- if block.settings.link != blank -%}
{%- endif -%}
{%- if block.settings.image != blank -%}
{{ block.settings.image | img_url: '150x150', scale: 2 | img_tag: block.settings.image.alt }}
{%- else -%}
{{ 'logo' | placeholder_svg_tag: 'placeholder-svg' }}
{%- endif -%}
{%- if block.settings.link != blank -%}
{%- endif -%}
{{ block.settings.logo_text }}
{%- endfor -%}
{%- endif -%}
{% schema %}
{
"name": "Logo list",
"class": "index-section",
"max_blocks": 10,
"settings": [
{
"type": "text",
"id": "title",
"label": "Heading",
"default": "Logo list"
},
{
"type": "select",
"id": "logo_width",
"label": "Logo width",
"default": "160px",
"options": [
{
"label": "Extra Small",
"value": "100px"
},
{
"label": "Small",
"value": "125px"
},
{
"label": "Medium",
"value": "160px"
},
{
"label": "Large",
"value": "175px"
},
{
"label": "Extra Large",
"value": "200px"
}
]
}
],
"blocks": [
{
"type": "logo_image",
"name": "Logo",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "url",
"id": "link",
"label": "Link",
"info": "Optional"
},
{
"type": "richtext",
"id": "logo_text",
"label": "Text"
}
]
}
],
"presets": [
{
"name": "Logo list",
"category": "Image",
"blocks": [
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
}
]
}
]
}
{% endschema %}
Can anyone help with this?

