How to show alternate text on image hover in product-images.liquid?

I’m trying to add a code to show an alternate image/text on image hover. I modified the file “product-images.liquid”, however when I save and preview, nothing changes, the code I added is not there and therefore the effect that I want to add, doesn’t work.

Thanks in advance for your help,

Dario

1 Like

@darioospina90

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

Awesome, thanks.

The website is neojuicery.com

PD.

I’m making those changes in a template different than the live one.

1 Like

@darioospina90

thanks but i can see code can you please share updated theme code URL or try this Code

Hello @KetanKumar ,

Sorry, I don’t understand, do you want me to test the code in the live template? I’m trying that code that you shared with me but it requires to modify the file “Product-Images.Liquid” and that’s the file that I’m updating on a copy of the live template and is not working. Unfortunately I can’t test code on the live store so I have to test it on a copy of the template. I hope you can help me. Thanks.

Hello @KetanKumar , could you help me with this please???

@darioospina90

yes, let me know how can i help yous

@KetanKumar Again.

I’m trying to add a code to show an alternate image/text on image hover. I modified the file “product-images.liquid”, however when I save and preview, nothing changes, the code I added is not there and therefore the effect that I want to add, doesn’t work.

1 Like

@darioospina90

It can be done by doing some code customization. please send me a personal message and we can discuss what you’d like