Skip to main content
Question

Variant image would not cha

  • January 16, 2023
  • 8 replies
  • 2344 views

DEStudios

Basically, I am working on an interactive component with variants. I have an instance in which I want to change the image. While the default variant changed, the hover state doesn’t change to the new image applied (it still has the parent component’s image)

8 replies

tank666
  • 4858 replies
  • January 16, 2023

DEStudios
  • Author
  • 5 replies
  • January 16, 2023

Okay, thank you for this. Case in point, the image on the left is on a master component. On this component, I made the default and hover with the overlay. I saw a video that I followed strictly. It didn’t seem to work.


DEStudios
  • Author
  • 5 replies
  • January 16, 2023

Please check this out



tank666
  • 4858 replies
  • January 16, 2023

I assume that your overlay is not a separate layer, but an additional fill.

Could you share a link to the file? This will allow anyone to see the structure of the component and help to understand the reason.


DEStudios
  • Author
  • 5 replies
  • January 16, 2023

Yes, you are correct. It is an additional fill. Not a separate layer

Figma – 16 Jan 23

DEStudios
  • Author
  • 5 replies
  • January 16, 2023

Your comment on it being an additional fill prompted me to make a separate layer instead and it worked just as I intended. You rock!
Thank you very much


Hi, can your share the solution within a Figma file ? Because I still don’t know how you fixed it. 🙂


DEStudios
  • Author
  • 5 replies
  • March 8, 2023

Hi. Saw this quite late, sorry. I wonder, do you have a fix on it or would you still like me to share a file?


Reply


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