I’d like to hide the title and price on collection pages, how do I do that? I’m using the Craft theme.
Website is still pretty empty, but this is an example page: https://illulief.nl/collections/printable-allerlei
Thanks!
A user running the Craft theme wants to hide product titles and prices on collection pages while keeping product images clickable.
Initial Solutions & Issues:
.collection.page-width .card__heading and .collection.page-width .price__regularFinal Working Solution:
The issue was resolved by adding CSS code to the base.css file (Online Store → Theme → Edit code → Assets → base.css):
.collection .product-grid .card__content {
position: absolute;
opacity: 0;
z-index: 3;
}
Key Requirement:
The solution needed to hide text elements without making images unclickable or leaving excessive whitespace.
Status: Resolved. The user confirmed the final CSS approach successfully hides titles/prices while maintaining clickable product images.
I’d like to hide the title and price on collection pages, how do I do that? I’m using the Craft theme.
Website is still pretty empty, but this is an example page: https://illulief.nl/collections/printable-allerlei
Thanks!
Hey @illulief
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
That worked, but now it won’t link to the product anymore ![]()
Hey @illulief
Apologies, please remove the previous code and add this new code.
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @illulief
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.collection.page-width .card__heading {
display: none;
}
.collection.page-width .price__regular {
display: none;
}
That worked, but now it won’t link to the product anymore
Hello @illulief
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.card__content {
display: none;
}
that did nothing ![]()
Hello @illulief
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.card__content {
display: none !important;
}
That worked, but the link to the product is gone again.. I think maybe what I want isn’t possible?
The reason I want it gone is because it’s HUGE.. maybe you can help me make it smaller?
Hi @illulief
Please use this code to hide product price and title also not make image unclickable.
.card__content { opacity: 0; height: 0; padding: 0 !important; }
Hi @illulief
This is David at SalesHunterThemes.
Thank you for your question.
You can try follow this path:
Themes => edit code => asset => base.css
and add this code to bottom of the file base.css
.collection .product-grid .card__content {
position: absolute;
opacity: 0;
z-index: 3;
}
Yes, thank you so much ![]()