Any way to hide button text in "regular" mode?

Hi all! I’m trying to make a custom button, in form of a frame for a picture - as shown in the attached images.
The problem is that I would like the text to be not visible in “regular” mode (first image), but to appear only in “hover” mode (second image).
Is there a way to do this?

Hi,
Do you use gallery? What elements have you added?
You can use the onViewportEnter & onViewportLeave to create an hover effect. Check out the documentations examples to understand how to do that.

Good luck,
Tal.

Thank you @Tal , no, I don’t use a gallery, but a blank page.
Meanwhile I have managed to obtain the needed effect by deleting the button text, adding a separate text (centered with the frame-like button) and, then, by adding MouseIn and MouseOut events to the button for showing, respectively hiding the text, like in the image:

1 Like