Enable a second image to appear on mobile product cards

Enable a second image to appear on mobile product cards

LUNAMIS
Visitor
1 0 0

Hello,
How can I enable a second image to appear on mobile product cards?

I have already tested all these codes mentioned in this link, but I was not successful.

It is important to highlight that it is working normally on the computer, I would like to add the same functionality when swiping the image on mobile. Captura de tela 2024-09-22 145216.pngMy Theme: Impact

 

Replies 2 (2)

parth_ghelani
Shopify Partner
258 38 35

Hello @LUNAMIS 

Can you please your store url and password (if applied) ?

so i can check and fine what's the issue and suggest you the best solution

 

Was your question answered? Mark it as an Accepted Solution.
If you need further assistance to optimize your store, please don't hesitate to reach out. I'm committed to providing you with my full support and ensuring that you get the most out of our collaboration.

Get in Touch: You can contact me directly at [email protected] for any questions or concerns

namphan
Shopify Partner
1331 164 199

Hi @LUNAMIS,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.product-card--show-secondary-media .product-card__figure:hover .product-card__image--primary {
        opacity: 0;
    }
    .product-card--show-secondary-media .product-card__figure:hover .product-card__image--secondary {
        opacity: 1;
        display: block;
    }
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]