Hello,
I added some css recently to put my product titles on top of the image rather than below. Now i’ve noticed only the title of the product is clickable and not the image itself. Can someone please help me make the images of products and collection cards clickable to the specific product page.
Thank you!!
https://nuijewellery.com.au/collections/static-collection
Theme is dawn
Update this code in your base.css file from this
@media only screen and (min-width: 200px) {
.card__content {
position: absolute;
bottom: 10px;
margin-left: 10px;
left: 0; /* Adjust to position on the bottom left */
padding: 0px; /* Add padding for spacing */
}
.card-wrapper:hover .card__content .card__information {
background: transparent;
}
To this
@media only screen and (min-width: 200px) {
.card__content {
position: absolute;
bottom: 10px;
margin-left: 10px;
left: 0; /* Adjust to position on the bottom left */
padding: 0px; /* Add padding for spacing */
top: 0;
right: 0;
align-items: end;
}
.card-wrapper:hover .card__content .card__information {
background: transparent;
}
1 Like
Legend! Thanks so much it worked!
1 Like
HI @jewellerystore1
We have gone through your problem and found a solution.
Solution:
You can follow these steps to achieve your result
Go to online store → edit code → base.css file And past the below code top of the file
@media only screen and (min-width: 200px) {
.card__content {
position: absolute;
bottom: 10px;
margin-left: 10px;
left: 0;
padding: 0px;
top: 0;
right: 0;
align-items: end;
}
.card-wrapper:hover .card__content .card__information {
background: transparent;
}
}