Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am trying to remove the pricing only on the collection page, but it keeps removing prices across the entire website. I am using the following code:
<style>
html:has([href="/collections/all"]) .price {
display: none !important;
}
</style>
How do i go about only removing the prices on the collections, and not the products pages (catalogue page, https://myricobabyeurope.com/collections/all). Thanks!
Solved! Go to the solution
This is an accepted solution.
Please use below css code hopefully it will work for you.
#ProductGridContainer .card-information .price {
display: none;
}
This is an accepted solution.
Please use below css code hopefully it will work for you.
#ProductGridContainer .card-information .price {
display: none;
}
Hey @Niki123
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
{% if template contains 'collection' %}
<style>
.price {
display: none !important;
}
</style>
{% endif %}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed