Ora

How Do I Link a Hover Box in Wix?

Published in Wix Website Elements 4 mins read

To link a hover box in Wix, you actually add links to individual elements within the hover box, such as text, buttons, or images, rather than linking the entire box itself. These links become active when the hover box is in its "hover" state, allowing users to navigate or take action.

Understanding Wix Hover Boxes

A Wix hover box is an interactive element that changes its appearance or reveals content when a site visitor hovers their mouse over it. It has two main states: the Regular state (what visitors see normally) and the Hover state (what appears or changes upon hover). You typically place elements like text, images, or buttons within the hover box, and it's these internal elements that you will link.

Step-by-Step Guide: Adding Links to Elements in Your Hover Box

Here’s how to add clickable links to items inside your Wix hover box:

1. Accessing the Hover State

First, you need to configure the elements that appear or change when a user hovers over the box.

  • Select Your Hover Box: In the Wix Editor, click on the hover box you wish to edit.
  • Switch to Hover Mode: Once selected, look for the "Change Design" or "Settings" options. To edit the elements specific to the hover state, you need to access the hover mode. You can often achieve this by clicking on the background of the hover box. This action switches the editor view to show you how the box behaves and looks when hovered over.
  • Add or Select Elements: While in "Hover" mode, add any text, buttons, or images you want to be interactive, or select existing ones.

2. Linking an Element Within the Hover Box

Once you've selected an element (e.g., a button, text, or an image) in the "Hover" state, you can link it:

  1. Select the Element: Click on the specific element (e.g., a button, text, or an image) inside your hover box that you want to link.
  2. Access Link Settings:
    • For Buttons: Click the "Link" icon (often looks like a chain link) in the floating toolbar that appears next to the button.
    • For Text: Select the text, then click the "Link" icon in the text editor toolbar.
    • For Images: Click the "Link" icon in the floating toolbar.
  3. Choose Your Link Type: A "Link" window will appear, offering various options:
    • Web Address: Link to an external website.
    • Page: Link to another page within your Wix site.
    • Anchor: Link to a specific section on any page of your site.
    • Email: Open a new email draft with a pre-filled recipient.
    • Phone Number: Initiate a phone call on mobile devices.
    • Document: Link to a downloadable file.
    • Lightbox: Open a Wix Lightbox.
  4. Enter Link Details: Depending on your chosen link type, you'll need to enter the relevant information (e.g., URL for a web address, select a page for a page link).
  5. Set Target (Optional): For web addresses, you can choose if the link opens in a "New Window" or "Current Window."
  6. Click "Done": Save your link settings.

3. Test Your Links

Always preview your site to ensure the hover box behaves as expected and all links are functional. Move your mouse over the hover box to trigger its hover state, then click on the linked elements.

Common Elements You Can Link in a Hover Box

Element Type How to Link Use Case
Button Select button > Click "Link" icon > Choose link type Call to action (e.g., "Learn More," "Shop Now")
Text Highlight text > Click "Link" icon > Choose link type Hyperlinks within descriptive text, navigation labels
Image Select image > Click "Link" icon > Choose link type Clickable product images, portfolio items, social media icons

Practical Insights & Best Practices

  • Clear Call to Action: Ensure that any linked elements in your hover box have a clear visual cue (e.g., a button with descriptive text) indicating they are clickable.
  • Minimalism: Avoid cluttering your hover box with too many interactive elements. Focus on one primary action or a few related options.
  • Accessibility: Ensure sufficient contrast between text and background colors in both regular and hover states, especially for linked text.
  • Mobile Responsiveness: Hover effects don't work on touch devices. Wix automatically converts hover boxes for mobile, so make sure your mobile layout clearly presents any critical links that were initially revealed on hover. You may need to adjust the mobile view to ensure these links are always visible or easily accessible.
  • Wix App Integrations: If you're using Wix apps, some might offer specific linking options or interactive elements that can be placed within hover boxes.

By following these steps, you can effectively add interactive links to the elements within your Wix hover boxes, enhancing user engagement and navigation on your website.