Site logo

Archived topic

Add hover overlay effect on post image

5 replies · Started by Gonzalo on December 17, 2018

Viewing posts 1–6 of 6

Hi,
I would like to add an hover overlay effect on post images, like zoom, change color, fade etc.
Can you help me?

Regards

Hi there,

here's a starter, this CSS will create a zoom effect on the image hover:

.post-image {
    overflow: hidden;
}
.post-image img {
    transform: scale(1);
    transition: transform 0.35s ease-in;
}
.post-image:hover img {
    transform: scale(1.2);
}

Thank you David, work fine!
I think you should add this option in GP. It`s only CSS ;)

Regards

You're welcome :) The beauty of it being additional CSS is we can do a lot more then would be possible in the customizer. But i'll pass on your suggestion.

Hello, I've tried to copy and paste it onto my additional CSS, but it doesn't work.

This archived topic is closed to new replies.