Tagged: enlarge on hover, Portfolio, portfolio grid, zoom, zoom on hover
I have a portfolio grid on the homepage at https://www.juliesilvester.com.au/
I want to make the gallery preview zoom in or enlarge on mouse hover.
I also want to remove the (current) milky white desaturation on mouse hover.
Thank you!
Cheers,
Dameon
Hey Dameon,
Thank you for the inquiry.
You can use this css code to enlarge the portfolio grid image and adjust the opacity of the background on hover.
.grid-image:hover img {
scale: 1.4;
transition: all 0.4s;
}
.avia_transform a:hover .image-overlay {
opacity: 0.1 !important;
}
If you want to adjust the background color of the overlay, include this css code:
#top .all_colors .grid-image .image-overlay {
background-color: red;
}
Best regards,
Ismael
Hi @Ismael,
Thanks for your reply. I’ve added your CSS code. The zoom on hover is not working. Can you have a look?
https://www.juliesilvester.com.au/
The colour change does work. What if I want the colour change on hover to be transparent?
Cheers,
Dameon