Solved

prestige theme featured collection in mobile view issue

haseebzulfiqar9
Tourist
9 0 0

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

Haseeb Zulfiqar
Accepted Solution (1)
deepaksharma
Shopify Partner
448 62 91

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;
    }
}

 

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com

View solution in original post

Replies 7 (7)

haseebzulfiqar9
Tourist
9 0 0

WhatsApp Image 2024-03-06 at 1.59.00 PM.jpeg

Haseeb Zulfiqar
deepaksharma
Shopify Partner
448 62 91

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

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
haseebzulfiqar9
Tourist
9 0 0

yes bro how to do it, i only want to remove it from mobile

Haseeb Zulfiqar
haseebzulfiqar9
Tourist
9 0 0

want to remove hover

Haseeb Zulfiqar
deepaksharma
Shopify Partner
448 62 91

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;
    }
}

 

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com
haseebzulfiqar9
Tourist
9 0 0

i have done it myself, can you check it?

Haseeb Zulfiqar
deepaksharma
Shopify Partner
448 62 91

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

deepaksharma_0-1709721150391.png

 

Deepak Sharma || Shopify Developer || Helping eCommerce Stores
- Was my reply helpful? Accept it as solution
- Was your question answered? Mark it as an Accepted Solution.
-CHAT ON WHATSAPP | BUY ME A COFFEE | MAIL ME: ds2305187@gmail.com