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;
}
}
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024