Skip to main content
Question

Override images in interactive components/variants with zoom effect on hover


Show first post

30 replies

tank666
  • 4863 replies
  • January 24, 2024

Your problem is that you have added an extra fill in the hover variant. Delete this fill and add a new layer instead.

The structure of the variants will be like this:

Default
    Overlay (hidden)
    Image

Hover
    Overlay (visible)
    Image

this worked thank you so much!


  • 1 reply
  • May 8, 2024

@tank666 Thanks for the file reference, worked like a charm! 🤘


iago
  • New Participant
  • 18 replies
  • February 25, 2025

check this out: 

 


Wirkkarl
  • New Participant
  • 5 replies
  • April 22, 2025
vkialka wrote:

Trying to override images so that the image zooms in on hover, but all it does is show the original image from the hover variant. Any ideas? Tks!!

To achieve the zoom effect on hover without showing the original image, you need to ensure that the hover variant scales the image properly. Instead of just switching the image on hover, apply a scale transformation to the hover variant. This way, the image will zoom in without returning to the original. Make sure to use "smart animate" between the variants for smooth transitions.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings