All things Shopify and commerce
Hi,
for some reason, on my store recallclothing.com I cannot make it for the opacity to work on mobile, but only on desktop.
product-bloc.liquid
{% if product.available==false %} product-soldout {% endif %}
and in CSS:
.product-soldout {
opacity: 0.4;
}
But I tried to place it in different places in the file product-bloc.liquid but the render only works on Desktop and for some reason on mobile the opacity never changes.
Does anyone have an idea ?
Solved! Go to the solution
This is an accepted solution.
.product-soldout {
opacity: 0.4;
}
@media (max-width: 767.98px) {
.product-soldout {
opacity: 0.4;
}
}
Bump. Any idea ?
This is an accepted solution.
.product-soldout {
opacity: 0.4;
}
@media (max-width: 767.98px) {
.product-soldout {
opacity: 0.4;
}
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024