All things Shopify and commerce
Hi everyone,
I want to hide the text below the photo in my collections, I tried some codes but it also hides the product titles in my home page and other products.
See the photo below for reference.
Solved! Go to the solution
This is an accepted solution.
Hi ^^,
Sorry for the mistake, with this code the edit is made only on the titles on the collections page 😉 (I specified the path of titles to be edited).
/* HIDE TITLES IN COLLECTION PAGE */
.collection-list .card:not(.ratio)>.card__content {
opacity: 0;
height: 0;
}
Let me know if it works!
Hi, @IntechCarl
Send me Page URL
Hi! I sent you privately the link
https://yywy1ulr838gm-13830324282.shopifypreview.com
Add the letters (a), (p), and (k) betwen 8 and 38gm in the link
hey ^^
Try adding this code at the bottom of your 'component-card.css' file (you have to edit your theme code).
/* HIDE TITLES IN COLLECTION PAGE */
.card:not(.ratio)>.card__content {
opacity: 0;
height: 0;
}
Let me know if it works 🙂
Hi! i tried using this code and it works, but the problem is it also hide the title of the card in my products. I want it only in the collection cards.
This is an accepted solution.
Hi ^^,
Sorry for the mistake, with this code the edit is made only on the titles on the collections page 😉 (I specified the path of titles to be edited).
/* HIDE TITLES IN COLLECTION PAGE */
.collection-list .card:not(.ratio)>.card__content {
opacity: 0;
height: 0;
}
Let me know if it works!
It worked! Thanks a lot!
You're welcome! 🙂
User | RANK |
---|---|
42 | |
42 | |
32 | |
24 | |
21 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023