Hello Support,
Is it possible to increase the hover effect size and speed in an Image box?
I have built 5 icons on the homepage that the client would like to see get a bit larger and increase with greater speed when the cursor passes over them.
Possible?
Domain in the Private Content area.
Thank you,
Rege
Hey GailSabol!
Try playing around with the CSS on line 3218 in the /enfold/css/shortcodes.css file.
.av-hover-grow{overflow: hidden; }
.av-hover-grow img {
-webkit-transition: all 1.7s cubic-bezier(0.230, 1.000, 0.320, 1.000);
transition: all 1.7s cubic-bezier(0.230, 1.000, 0.320, 1.000);
}
The 1.7s refers to the speed in seconds.
Best regards,
Elliott
Thank you Elliott. The code you provided affects the speed. Is there additional code that affects the size?
Thank you.
Gail
Hi!
use this code:
.av-hover-grow:hover img {
-webkit-transform: scale(1.6);
transform: scale(1.6);
}
and adjust 1.6 as needed.
Regards,
Andy
Hi!
Try changing the scale on the line below it.
.av-hover-grow:hover img { -webkit-transform: scale(1.1); transform: scale(1.1); }
The 1.1 means 110% of original size.
Regards,
Elliott