Hover Box
Meet the Pixel Hover Box module for Divi! Turn any image into an interactive card that reveals more on mouseover. The card shows a short title by default, and when a visitor hovers over it, a second layer slides, fades or zooms in with an icon, a description and a call-to-action button. It is a compact way to present services, menu items, team members or features without crowding the page.

With the Pixel Hover Box module you can:
- Show a title, an image or icon and a text on the Content Side, the card visitors see first
- Reveal a second layer on the Hover Side with its own title, image or icon, text and button
- Choose between 6 hover animations: Slide in four directions, Fade and Zoom
- Set the animation speed and align the content of each side in one of 9 positions
- Give the card a fixed height or keep it a perfect square at every screen size
- Style each side separately with its own background, image or icon, text and button design
How the module works
The Pixel Hover Box has two layers stacked on top of each other. The Content Side is visible by default. The Hover Side is hidden and appears when the visitor moves the mouse over the card, then disappears again when the mouse leaves. Each side has its own content, background and design settings, so the two layers can look completely different.

How to add the Hover Box module
- Open a page with the Divi Visual Builder
- Click the + (Add New Module) button
- Search for Pixel Hover Box and click it to insert the module
- Fill in the Content Side and the Hover Side in the Content tab
- Pick a Hover Type in the Settings group
- Add a background image for each side in the Design tab (Content Background and Hover Background)
- Save the page and hover over the card to see the effect
NOTE: To show several cards in a row, like on the demo page, add one Hover Box to each column of a multi-column row.
Content Side
The Content Side group holds what visitors see before they hover:
- Content Title is the heading on the card
- Icon for Content Side switches between an image and an icon. When it is off, you get the Image and Image Alt Text fields. When it is on, you pick a Front Icon instead
- Body Text is an optional text below the title
Leave the image and body text empty for a clean card that shows only its title over the background, as in the demo.
Hover Side
The Hover Side group works the same way and adds a button:
- Hover Title is the heading of the hover layer
- Icon for Hover Side switches between an Image (with Image Alt Text) and a Hover Icon
- Body Text is the text shown on hover
- Show Hover Side Button adds a call-to-action button below the text
When the button is on, you can set:
- Button Text
- Button Link
- Button Link Target, to open the link in the same window or a new tab

Settings
The Settings group controls the hover effect and the size of the card:
- Hover Type is the animation of the hover layer: Slide, Fade or Zoom
- Direction is only shown for Slide and sets where the hover layer comes from
- Animation Speed is how long the animation takes. The default is 600ms
- Content Align places the content of the Content Side inside the card
- Hover Content Align places the content of the Hover Side inside the card
- Force Module to be a Square makes the card as tall as it is wide, and keeps it square when the screen size changes
- Box Height sets a fixed height for the card. The default is 400px. It is hidden when the card is forced to be a square
The Direction options are:
- Bottom to Top
- Top to Bottom
- Left to Right
- Right to Left
Both align settings offer 9 positions: Top Left, Center Top, Top Right, Left, Center, Right, Bottom Left, Center Bottom and Bottom Right.

The Content tab also has the standard Divi Link, Background and Meta groups. Use Link to make the whole card clickable.
Design Settings
Every part of the Hover Box has its own group in the Design tab:
- Content Background and Hover Background set the color, gradient or image of each side. Add the same photo to both and a dark color or gradient on top of the hover side to keep the text readable, like in the demo
- Content Image & Icon and Hover Image & Icon style the image or icon of each side
- Content Text and Hover Text have Title and Description tabs for the fonts of each side
- Hover Button styles the button: background, border, text, icon, spacing, sizing and box shadow
When a side shows an image, its image group has Border, Box Shadow and an image container width setting (Content Image Container Width / Hover Image Container Width).
When a side shows an icon, its image group has these settings instead:
- Margin and Padding around the icon
- Icon Color
- Circle Icon, which places the icon in a circle with its own Circle Color
- Show Circle Border, with a Circle Border Color
- Icon Font Size

The usual Divi groups for Sizing, Spacing, Border, Box Shadow, Filters, Transform and Animation apply to the whole card.
Design Ideas
- Service cards: a photo on both sides, only the service name on the Content Side, and a short description with an Explore button sliding up from the bottom
- Team members: a portrait on the Content Side and the person’s role and contact link fading in on hover
- Feature grid: a white Content Side with an icon in a colored circle, zooming into a brand-colored Hover Side with more details
- Menu or product teasers: a square card (Force Module to be a Square) in a four-column row, with the price and an order button on the Hover Side
NOTE: Touch screens have no hover. On phones and tablets, a tap on the card shows the Hover Side, so keep the most important information, such as the title, on both sides.