Hi, I’m working on a site using Pro and I’m using a plugin to show team members and my client has asked for some kind of effect when hovering over the members photo. I thought of using the scale effect so the image enlarges when hovered over. I’ve managed to get so far with it and I’m now stuck! When you hover over the image, the bottom of it overlaps the social media icons under it and I can’t figure out how to hide the overflow to stop it from happening. I’d be really grateful if you could take a look for me please and let me know what I can do to correct it if possible.
Here’s the CSS I’ve used for it:
div.grid {
overflow: hidden !important;
}
.grid img.team-picture {
transition: all .25s ease-in-out;
}
.grid img.team-picture:hover {
transform: scale(1.15);
}
I’ll put the URL in a secure note as it’s being built on a temp link.
Thanks!