Hello, I recently set up a page to automatically display vendor info from A to Z in Taste Theme. This vendor list appears in one long column, with linked blue text. Instead, I would like it to appear in three columns, with all black linked text. The code below is what I used to create the functional vendor list:
{% assign counter = 0 %}
{% for vendor in shop.vendors %}
{% assign counter = counter | plus: 1 %}
{% endfor %}
{% assign counter_divided_by_3 = counter | divided_by: 3 | floor %}
{{ page.content }}
{% for product_vendor in shop.vendors %}
{% assign its_a_match = false %}
{% capture my_collection_handle %} {{ product_vendor | handleize | strip | escape }} {% endcapture %}
{% assign my_collection_handle_stripped = my_collection_handle | strip | escape %}
{% for collection in collections %}
{% if my_collection_handle_stripped == collection.handle %}
{% assign its_a_match = true %}
{% endif %}
{% endfor %}
{% if its_a_match %}
- {{ product_vendor }}
{% else %}
- {{ product_vendor | link_to_vendor }}
{% endif %}
{% endfor %}
And this is the current appearance of the page: https://urbanfarmcollection.com/pages/vendor-list
Would appreciate any insight or help in resolving this! Thank you.
