[SUMMER SALE] Get 30% Off On All Our Divi Products And Membership👉
[Limited Time Offer] Get 40% off ALL ACCESS MEMBERSHIP before it’s gone!👉
mark Hendriksen logo

How to Create Interactive Service Boxes with Hover Effects in Divi 5

by Mark Hendriksen | Jul 22, 2025 | Divi 5, Divi tutorials | 0 comments

HomeDivi 5How to Create Interactive Service Boxes with Hover Effects in Divi 5

Mark Hendriksen

I am the founder here at MarkHendriksen.com a blog website for Web design, WordPress, and popular page builders.


Divi 5 is still in alpha, but it already brings some exciting new features — especially the powerful interaction options. In this post, I’ll walk you through how to create an interactive service or project box using Divi 5, with smooth hover animations and a clean, modern design.

This is a showcase tutorial, meant to demonstrate what’s possible in Divi 5 Alpha. It’s not yet intended for production use.

What You’ll Learn

  • How to download and import a pre-built layout
  • How to customize images and content
  • How the new Divi 5 interaction system works
  • How to add hover effects using custom CSS

Step 1: Download the Layout

To get started, log in or sign up below.

Create a free account

Join the free membership and start downloading my layout packs

Join the Free Membership
Free membership area
  1. Log in or create a free account
  2. Click on the “Free Membership” section
  3. Scroll down and download the Interactive Boxes layout
  4. Unzip the folder — inside you’ll find the .json layout file
Access free membership
Access free membership
Download layout
Download layout

Step 2: Import the Layout into Divi Library

  1. Go to your WordPress Dashboard
  2. Navigate to Divi > Divi Library
  3. Click “Import & Export”
  4. Upload the downloaded .json file
Import in the Divi library

Step 3: Add the Layout to a Page

  1. Open the page where you’d like to use the interactive boxes
  2. Enable the Divi Builder
  3. Click the blue “+” to add a new section
  4. Go to the “Add From Library” tab
  5. Select the “Interactive Boxes” layout
Add layout to a page

Step 4: Replace Images and Content

  1. Open the row, then a column
  2. Go to Background > Image tab
  3. Replace the placeholder with your own image (recommended size: 600x800px)
  4. Repeat for each column
Change the background image

Edit Hover Content:

If you can’t click the hover content in the Visual Builder, switch to Wireframe View.

  1. Open the Image Module inside the hover group (recommended size: 500x281px)
  2. Update the Heading, Text, and Button modules to your content
Change the hover content

Step 5: Add Custom CSS

In Wireframe View, you’ll see a Code Module that contains the custom CSS.

You can either:

  • Leave it there, or
  • Move it to Divi > Theme Options > Custom CSS to keep your layout clean

To move it:

  1. Copy everything between the <style> tags
  2. Paste it into Divi > Theme Options > CSS
  3. Delete the original Code Module from the layout

Step 6: How the Hover Interaction Works in Divi 5

Divi 5 introduces new interaction options that let you add advanced behavior without third-party tools. Here’s how this effect works:

On Mouse Hover (In):

  • Target: The group module with image, text, and button
  • Action: Add attribute
  • Attribute Name: class
  • Attribute Value: cb-show

This adds the cb-show class on hover, which triggers the CSS animation.

Divi 5 interactions

On Mouse Hover (Out):

  • Same setup, but this time it removes the cb-show class

The CSS handles the slide-in and fade effect, while the interaction just toggles the visibility.

Final Thoughts

Even though Divi 5 is still in early development, the new interaction features open the door to building creative, interactive components with ease.

This tutorial shows just one possibility — imagine the animations, toggles, and dynamic sections you could create once Divi 5 is fully released.

Submit a Comment

Your email address will not be published. Required fields are marked *