Hey,
Im using the Refresh theme and looking to remove the product titles from the squares on the collection pages.
We wish only to display the product photo and price, can any one help?
Thanks in advance!
Hi @KellyJayne1993 If youāre using the Refresh theme and want to remove the product titles from the collection pages while keeping just the product photo and price, hereās what you can do:
Access your themeās code:
Locate the relevant file:
Edit the code:
### {{ product.title }}
ā
{% comment %}
### {{ product.title }}
{% endcomment %}
ā
Save your changes:
@KellyJayne1993 @Ahmad31 make sure the product title, or description, is still there for screen readers or your creating accessibility issues.
Alternatively just visually hide the element using a custom css setting without having to modify theme files.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css
.product-card__title { display: none; }
Please, share your store UR. Thanks!
This sounds like what im trying to achieve, we want to keep the data their just hidden.
https://wishstrings.co.uk/collections/wishstrings
Trying to hide the title on these pages, the collections. Should this work when copied into the Custom CSS box? It doesnāt seem to change anything? thanks so much
Hey, this works! However, once the title is removed the product is not āclickableā
I need to move the card link from the ātitleā to the āphotoā so the product is still clickable to access the product page.
I can see the code below, can this be altered/moved to change the Cardlink to the product image? Or alternative change the link to say āView Productā rather than the title?
Thanks
Kelly x
Thanks for the info, if this is for all the collections in your store try this one.
.collection .card__content {
display: none;
}
Please donāt forget to Like and Mark Solution to the post that helped you. Thanks!