Shopify themes, liquid, logos, and UX
Hello, I wish to disable image hover on all products on mobile view ONLY.
Any ideas how to do this? I wish to keep it for desktop but disable for mobile.
Here is my store URL, thanks: https://contrakidsmutiny.com/
Hi @MJ82
You can acive this by adding this CSS code:
You just need to follow these steps:
1) Go to the Online Store
2) Edit Code
3) Find theme.css / base.css
And past that CSS Code:
@media(max-width:768px){
.product-item-hover {
display: none !important;!i;!;
}
}
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Thanks, this didn't work though. Any suggestions for how to make it work?
You wanted to remove the product card hover image right ?
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Yes thanks, I wanted to remove it only on mobile. I added your code correctly but it doesn't remove the product hover function on mobile after saving. I am not sure why it hasn't worked.
ok the code is working fine in the Dev tools removing the hover image
if it doesn't work for you I need to investigate the issue for that I need collaboration code so I can check why this code is not working
-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR
-If you need an expert Shopify developer for customization and development, feel free to contact me.
Email: Mehran.ali5300@gmail.com
WhatsApp: +92 343 0211536
Sure, can you send me a private message and I can share with you access? Or let me know how to proceed, thanks.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024