my product image in my featured collection is lost behind the background colour which I have changed. Attached is the code i used to get the background colour in the first place.
Can anyone help to get the picture back?
A user encountered a display issue where product images in their featured collection were hidden behind a custom background color they had applied.
Solution Provided:
theme.liquid file (above the </body> tag) to adjust the z-index of product images, bringing them to the foregroundFollow-up Issue:
Final Outcome:
my product image in my featured collection is lost behind the background colour which I have changed. Attached is the code i used to get the background colour in the first place.
Can anyone help to get the picture back?
Hey @sjosborne
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Amazing, thank you!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi although, the sold out button is missing
Hey @sjosborne
Keep the previous code and add this new code above in the end of theme.liquid file
.card__badge.bottom.left {
z-index: 99 !important;
background-color: transparent !important;
}
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi, i fixed this, i accidentally removed the first code. Thank you so much.
Glad to hear,If you require any more help, please don’t hesitate to reach out. ![]()