Tag Displayed as a Table

Chris_Malone
Tourist
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:

Chris_Malone_1-1636600945573.png

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:

Chris_Malone_2-1636601130245.png


I am using the tag for this product:

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

Any help is greatly appreciated!

 



 

Replies 0 (0)