I would like to align and divide a custom list into a 4 columns, here’s the code that I’ve used in a custom liquid
https://macaronikids.com/pages/designersv2
{% assign alphabet_list = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z" | split: ',' %}
{% for letter in alphabet_list %}
{% assign check_letter = false %}
{{ letter }}
{%- for collection in collections -%}
{% assign first_letter = collection.title | truncate: 1, ‘’ | upcase %}
{%- for product_vendor in shop.vendors -%}
{% if product_vendor == collection.title %}
{% if first_letter == letter %}
{% assign check_letter = true %}
{{ collection.title }}
{% endif %}
{% endif %}
{%- endfor -%}
{%- endfor -%}
{%- unless check_letter -%}
{%- endunless -%}
{% endfor %}

