All things Shopify and commerce
Hi,
When I open my site dianascloset.com.au in mobile, the portion highlighted takes 2-3 clicks to open product page instead of a single click. half of the picture is clickable and half is not.
please help
Solved! Go to the solution
This is an accepted solution.
Try placing this code inside the your theme.scss.css
@media screen and (max-width: 749px) {
.product-image-and-swatch .product-size-swatch {
background: linear-gradient(0deg, #fff, #ffffffce 45%, #fff0)!important;
opacity:1!important;
bottom:0 !important;
}
}
Hey there @haseebzulfiqar9
I suggest in the mobile version of you website remove the hover effect and place an add to cart button, because it is literally impossible to hover in mobile version of website instead of PC. You can use an add to cart icon for mobile view which will be visible in mobile but dissapears on desktop view.
Take for example from this website
Password:5777
yes bro how to do it, i only want to remove it from mobile
want to remove hover
This is an accepted solution.
Try placing this code inside the your theme.scss.css
@media screen and (max-width: 749px) {
.product-image-and-swatch .product-size-swatch {
background: linear-gradient(0deg, #fff, #ffffffce 45%, #fff0)!important;
opacity:1!important;
bottom:0 !important;
}
}
i have done it myself, can you check it?
remove the code I gave earlier, find modify.scss.css file in the editor and find
.product-image-and-swatch .product-size-swatch
and change it's opacity to 1, currently opacity is 0
Shopify and our financial partners regularly review and update verification requiremen...
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