How To Add Zoom In Effect On Hover To Collection Images

Solved

How To Add Zoom In Effect On Hover To Collection Images

AryavK
Trailblazer
266 9 43

Hello Shopify Team,

Can anyone pls tell me how to zoom into the collection list on hover.

 

for example: www.bellavitaorganic.com , https://ishalife.sadhguru.org/in/

 

my url: www.faithandyou.in

password: hello

 

Thanks

faith&you
Accepted Solution (1)
AryavK
Trailblazer
266 9 43

This is an accepted solution.

we can try

 

Go To Theme> Actions > Edit Code > Base.css

 

Add this to the bottom of the file

 

.collection-list .gradient {
    transition: transform 0.5s ease-in-out;
}
.collection-list .gradient:hover {
    transform: scale(1.0202);
}

 

faith&you

View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
10036 2387 3013

Hi @AryavK 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.image-with-text .gradient {
    transition: transform 0.3s ease-in-out;
}
.image-with-text .gradient:hover {
    transform: scale(1.1);
}

 

And Save.

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
AryavK
Trailblazer
266 9 43

umm...

@Made4uo-Ribe 

I think that is for image with text, not collection list

faith&you
Made4uo-Ribe
Shopify Partner
10036 2387 3013

This is your collection right?

Made4uoRibe_0-1704728394874.png

Its on the image with text section. It not on the collection.list. If the selector you used are working then try to take out my code in the base.css. 

Made4uoRibe_1-1704728585092.png

 

 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
AryavK
Trailblazer
266 9 43

no no no, the thing above it, shop by category

faith&you
AryavK
Trailblazer
266 9 43

This is an accepted solution.

we can try

 

Go To Theme> Actions > Edit Code > Base.css

 

Add this to the bottom of the file

 

.collection-list .gradient {
    transition: transform 0.5s ease-in-out;
}
.collection-list .gradient:hover {
    transform: scale(1.0202);
}

 

faith&you
AppleSauce999
Excursionist
28 0 21

Did this work for anyone?  I tried it and its not working.