Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey, how can I make gifs work on mobile version of my site?
im using the "Showcase" theme, I have gifs on my home page and want it to work on mobile as well. thanks
You can use this code:
@media (max-width: 767px) {
.template-index .product-block .image__second {
opacity: 1;
}
}
Hope that helps you.
hey, where exactly do I insert it?
At the end of style.css file
thank you! does that mean that the main picture of a product \ collection must be a gif right? it can't be the second picture (like on the desktop with the hover effect)
The style that we sent you will always show gifs on mobile phones. Previously, a picture was shown, and on the desktop, when you hover, a gif is shown. But it didn't work on your mobile phone. Now you will always show GIFs on your mobile phone.
if you can see on my site https://century8mm.com
down on the home page you can see a product that changes to a gif
but on the mobile version it doesn't change to the gif (second product picture)
i cant find that "style.css" in the code file
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025