when viewing the collection list page on mobile a black box appears over the collection thumbnail. I would like it to look the same as when viewing the page on a computer as it does not have this black box on computer. only when viewing from a mobile device, iv taken off password entry on my website so you can have a look. if you view it on a mobile device for some reason there will be a black box, this doesnt happen on desktop. https://samplescentsuk.com/collections
Solved! Go to the solution
Hi there, what theme are you using?
Please try adding this add the end of your Assets/theme.scss.liquid file:
.collection-grid__title {
opacity: 0;
display: table-cell;
vertical-align: middle;
margin: 0 auto;
}
.collection-grid__link-overlay:hover .collection-grid__title,
.collection-grid__link-overlay:focus .collection-grid__title {
opacity: 1;
}
This is an accepted solution.
My code was to create same behaviour in mobile than in desktop, which is title being shown on hover. If you want to completely remove the title in mobile, then replace the code I send you before with just this:
.collection-grid__title {
opacity: 0;
}
User | Count |
---|---|
421 | |
208 | |
144 | |
56 | |
43 |