I’am trying to remove the title of the collection list from showing, as i only want the Collection Image to show as it contains the collection name. see below image
my theme Dawn
Store URL: https://bforbaby.sa/
A user wants to hide collection titles on their Shopify Dawn theme homepage while keeping collection images (which contain the title text) clickable.
Solution provided:
base.css file in the theme’s Asset folderopacity: 0 on .collection-list-wrapper .card__content to hide titles while maintaining clickabilityheight: 0 !important to remove the empty space below images while preserving click functionalityAlternative approach (not recommended):
display: none achieves the desired visual result but breaks clickabilityCurrent status:
I’am trying to remove the title of the collection list from showing, as i only want the Collection Image to show as it contains the collection name. see below image
my theme Dawn
Store URL: https://bforbaby.sa/
Hi @SAlawadhi ,
One way to do this and still keeping the image clickable is add the opacity = 0. Please follow the instructions below.
.collection-list-wrapper .card__content {
opacity: 0
}
Hello @SAlawadhi,
You need following simple steps
li.collection-list__item .card--standard>.card__content {
display: none;
}
Output like this:
Great, it worked. thank you so much
so, not possible to remove the space below and still be clickable!
i also tried the solution by MyCodeMagic below, and it gives the look i wanted, but not clickable which is of no use ofcourse.
works perfect as far as look required, but it became not clickable!
Hi @SAlawadhi ,
Yes, you can add this code below to your base.css.
.collection-list-wrapper .card__content {
height: 0 !important
}
@made4Uo Perfect. thank you
Does this method still work? I have attempted this code but nothing seems to have changed.
Same there, I tried with no luck!
Hi, is it possible to remove it only on homepage? check speedstyle.shop , it removes it from every other page, if you click on phone cases. thank you
Perfect! That worked for me. Thanks