Tag Displayed as a Table

5 0 1

I am using the Warehouse theme, and I am using a tag to define an item in multiple ways. I want to display this tag in a table on the collection list. I have figured out how to include this data but not how to display it in a table format. Below is what I currently have:


In this way:

{% for tag in product.tags %}
      {% if tag contains  'Speed'%}<small>{{ tag }}</small>{% endif %}
{% endfor %}

And what I want to achieve, but in a nice formatted table so the text above and below line up centered:


I am using the tag for this product:

Speed: 2 Glide: 3 Turn: 0 Fade: 1

Any help is greatly appreciated!



Replies 0 (0)