brooklyn theme: hover effect picking up wrong picture

Solved
jtan
Trailblazer
158 4 23

hi all,

 

i got the hover effect working for the brooklyn theme however it is picking up the wrong picture. 

 

The first picture (mouse not hovering on the picture) is picking up the second picture on the product load page.

hopefully the screenshots below help to explain. 

 

is there a way to get the first picture to pick up the first picture on the product load page

 

Hover Picturepng.png

 

Hover Picture.png

KetanKumar
Shopify Partner
14204 1652 5107

@jtan 

Welcome to the Shopify community!
Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
jtan
Trailblazer
158 4 23

hi ketan, 

 

thetinycrate.com.au

 

Jesstan21

0 Likes
KetanKumar
Shopify Partner
14204 1652 5107

This is an accepted solution.

@jtan 

Thanks for the details 

can you please remove below CSS first 
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.product--wrapper {
    margin: 0 auto;
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
    transition: all 0.9s;
}
.grid-product__wrapper:hover .product--wrapper {
    opacity: 1;
}

After adding below code
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

.product--wrapper {
height: 100%;
}
.reveal {
    margin: 0 auto;
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
    transition: all 0.9s;
    z-index: 9;
}
.grid-product__wrapper:hover .reveal {
    opacity: 1;
}
.grid-product__wrapper:hover .product--wrapper {
    opacity: 0;
}

 

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
jtan
Trailblazer
158 4 23

Hi @KetanKumar 

 

That worked but for some reason size of the image has decreased. 

 

Would you know how to fix this?

 

Untitled 123.png

0 Likes
KetanKumar
Shopify Partner
14204 1652 5107

This is an accepted solution.

@jtan 

Thanks 

all good i have to check this issue i can see find an error (remove dynamic height yesterday i can't see right it show up )

see the attachment 

Pasteboard - Uploaded Image.png

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
jtan
Trailblazer
158 4 23

hi ketan,

 

looks like i found where i went wrong. 

 

thanks for the help

KetanKumar
Shopify Partner
14204 1652 5107

@jtan 

Thanks for the update.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
jtan
Trailblazer
158 4 23

hi @KetanKumar

 

is there a way to disable to hover effect on mobile devices? 

 

thanks

 

jess 

KetanKumar
Shopify Partner
14204 1652 5107

@jtan 

Thanks for again

yes, sure let me know which section do you have to remove the hover effect on mobile?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes