I added tags so they would display on my product page, but customization via CSS isn’t working. The tags are still showing up as underlined links. Any thoughts?
Store link / specific product: https://www.originandnorth.com/products/snow-princess-calendula-seeds-heirloom-flower-seeds
I used this code to get tags on my product page:
{% for tag in product.tags %}
{{ tag }}
{% endfor %}
and I believe they show up as they should, as underlined links:
But would like them prettier:
I have tried this code - I found this from another thread and inserted into base.css, but it doesn’t work.
.product-tags {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2px;
}
.product-tags span {
background: #66AFAE;
padding: 2px;
text-align: center;
}
span.tag a {
text-decoration-line: none;
color: white;
}
and this one, but it doesn’t work either.
.product-tags {
width:90%;
}
.product-tags span{
background-color: white;
padding: 5px 15px 5px 15px;
border-radius: 15px;
border: 1px solid grey;
display: inline-block;
margin-top: 4px; }






