Webflow sync, pageviews & more.
NEW
Answers

How can I change the image within a link block when hovering over it in Webflow?

To change the image within a link block when hovering over it in Webflow, you can utilize the interactions feature. Here's a step-by-step guide on accomplishing this:

1. Start by adding a Link Block to your page and place an Image element inside it. Set the initial image that you want to display.

2. Select the Link Block and go to the Interactions panel in the right sidebar.

3. Click on the "Add new trigger" button and choose the "Hover" option. This will create a hover interaction.

4. With the hover interaction selected, click on the "+" button next to "Affect" to add an interaction step.

5. In the first dropdown menu, select the Image element within the Link Block that you want to change.

6. In the second dropdown menu, choose the "Set Element Display" option.

7. Now, you have two options to change the image on hover:

a. Option 1: Preload both images and swap them on hover:
- Upload the second image you want to use.
- In the "Value" field, select the second image from the Assets panel.

b. Option 2: Apply an image filter effect on hover:
- In the "Value" field, enter a filter effect like "Brightness" or "Opacity" to modify the appearance of the image.

8. You can further customize the interaction by adjusting the timing, easing, and other properties under the "Additional properties" section.

9. Preview your project, and you should now see the image change when you hover over the Link Block.

Remember to save and publish your changes for the interaction to take effect on your live website. This technique can be extended to change other properties like text color, background color, or add animations, giving you more creative possibilities while designing your website in Webflow.

Rate this answer

Other Webflow Questions