Building An Image Hover Reveal Effect Using Divi 5’s Interactions

by | Apr 7, 2026 | Etcetera | 0 comments

Pictures virtually at all times percentage area with supporting content material, corresponding to titles, quick descriptions, and hyperlinks. A static structure can maintain that neatly, however even a small hover interplay could make all the composition really feel extra responsive. As an alternative of revealing the whole thing directly, the structure finds further content material most effective when any person engages with it.

On this instructional, we’ll use Divi 5 and its Interactions machine to construct precisely that: a structure the place soaring over a picture finds further content material and shifts the encompassing textual content right into a secondary state, all with out customized code.

What We’re Development

The structure is a two-column e book exhibit. The left column shows a e book duvet symbol, and the precise column incorporates the e book’s core metadata: the creator’s identify and the e book identify. That is the default state guests see first. It’s blank, easy, and simple to scan.

When any person hovers over the e book duvet, the precise column finds extra content material via a module workforce: a testimonial, a brief description, and a Purchase Now button. On the identical time, the e book identify shifts right into a smaller exchange preset so the brand new content material has room to look with out crowding the structure.

Subscribe To Our Youtube Channel

When the cursor leaves the picture, the structure returns to its default state. That reset is what makes the interplay really feel polished as a substitute of one-directional.

Why Use Divi 5 Interactions

Interactions is Divi 5’s integrated machine for including habits to components within the Visible Builder with out writing code. Divi 5’s Interactions system works via 3 portions: a cause that begins the interplay, an impact that defines what occurs, and a goal that tells Divi which component must exchange.

That construction makes it simple to coordinate a couple of adjustments from a unmarried hover. On this construct, one cause finds hidden content material whilst a 2nd goal switches the identify to another preset. Small interplay, a couple of coordinated responses.

See also  The way to Steer clear of Burnout: 7 Pointers + Indicators to Glance Out For

Step-By way of-Step Educational

This construct comes in combination in seven steps. We’ll create the two-column structure, upload the e book metadata, construct the hidden content material workforce, disguise it on web page load, create another identify preset, attach the whole thing to the hover cause, after which upload the return-state interplay to reset the structure cleanly.

Step 1. Create The E-book Show off Structure

Get started via including a brand new Phase in your web page and putting a Row with a two-column structure.

Add a two-column row in Divi 5

Within the left column, upload an Symbol Module and add your e book duvet symbol.

Transfer to the proper column and upload a Module Workforce. In Divi 5, a Module Group allows you to wrap a couple of modules right into a unmarried unit so they may be able to be styled and focused as a unmarried unit. Inside of that workforce, upload two Heading Modules, one for the creator identify and one for the e book identify.

Taste them to check your structure. As soon as the ones two headings are in position, the bottom construction is able.

Step 2. Create The Workforce For Further E-book Main points

Upload some other Module Workforce under the identify inside of the precise column. This 2nd workforce will dangle the content material published on hover.

Add another module group in Divi 5

Inside of it, upload a Heading Module for the testimonial quote, a Textual content Module for the fast description, and a Button Module categorised Purchase Now.

Modify the typography, spacing, and button styling till the brand new workforce visually connects with the metadata above it.

Style the additional content group in Divi 5

At this time, the crowd is totally visual. Your next step hides it on load so it may be published via the hover cause.

Step 3. Cover The Further Content material On Web page Load

Make a choice the second one Module Workforce and open its Content material settings. Scroll to Meta > Component Label and provides it a transparent identify corresponding to Radiance Meta. Labels make it a lot more straightforward to spot the precise goal while you’re development interactions.

Label a module group in Divi 5

Now open the Interactions panel, upload a brand new interplay, and set the cause to Web page Load with the impact set to Cover Component. This guarantees the second one workforce begins hidden as quickly because the web page lots. It is advisable to additionally disguise the crowd via Complex > Visibility, however the usage of a Web page Load interplay helps to keep the setup tied without delay to Divi 5’s Interactions workflow.

See also  10 Best AI Apps for iPhone and Android in 2023 (Top Choices)

With that during position, the structure returns to its default state: simply the creator and identify, with the additional content material ready off-screen till the hover interplay triggers it.

Step 4. Create An Exchange Preset For The E-book Identify

In Divi 5, a preset is a stored taste configuration for a module. Duplicating a preset allows you to create a 2nd visible state with out overwriting the unique. That’s precisely what we want right here, since the identify wishes one glance via default and some other glance when the hover disclose is lively.

Make a choice the E-book Identify Heading Module within the first workforce and open the Preset menu. Replica the present preset, then rename it to one thing recognizable like Heading Small.

With the brand new preset lively, scale back the font measurement somewhat and follow italics if you need the secondary state to really feel extra understated. The purpose isn’t to fully restyle the identify, however to make room for the published content material.

The identify now has two states able to modify between all the way through the interplay.

Step 5. Cause The Divulge On Hover

Make a choice the Symbol Module within the left column and open the Interactions panel. Upload a brand new interplay and set the cause to Mouse Input. This fires as quickly because the cursor strikes over the e book duvet.

Upload the primary impact: Display Component, concentrated on the Radiance Meta workforce.

Upload a 2nd impact to the similar hover interplay. Goal the E-book Identify Heading, make a selection Upload Preset, and make a selection the Heading Small preset.

At this level, soaring over the e book duvet finds the hidden content material and concurrently shifts the identify to its exchange taste.

Step 6. Upload The Go back-State Interplay

To make the impact really feel entire, upload a 2nd interplay to the similar Symbol Module and set the cause to Mouse Go out.

For the primary impact, goal Radiance Meta and make a selection Cover Component. This hides the extra content material when the cursor leaves the picture.

For the second one impact, goal the E-book Identify Heading and make a selection Take away Preset in case you’re casting off the exchange state, or transfer again to the unique preset if that’s how your setup is configured. The outcome must be the similar: the identify returns to its authentic default styling.

That is the step that helps to keep the interplay from feeling caught. The disclose is vital, however the reset is what makes the development reusable throughout playing cards, showcases, and hover-driven layouts.

See also  Make a Multi Supplier Ecommerce Web page with WordPress

Step 7. Upload A Fade-In Animation For A Smoother Divulge

Make a choice the Radiance Meta module workforce and open the Design tab. Scroll to Animation and make a selection Fade.

Add fade animation for a smoother reveal

Stay the period quick so the content material eases in as a substitute of snapping into position. That small exchange is helping the disclose really feel intentional and delicate.

Preview

Right here’s the completed structure in motion.

Sensible Guidelines Sooner than You Put up

A hover disclose can glance nice within the builder however nonetheless really feel awkward on a are living web page if the timing or spacing is off. Sooner than you post, evaluation the main points under to verify the interplay feels clean, readable, and intentional.

  • Stay the hover goal sufficiently big that the interplay is simple to cause.
  • Make sure that the published content material does no longer push within reach components into volatile positions.
  • Stay the exchange preset refined so the identify nonetheless feels visually hooked up to its default state.
  • Take a look at pill and cell perspectives and make a decision whether or not the interplay nonetheless is sensible on contact units.
  • Use quick animation timing so the impact feels responsive as a substitute of not on time.

Check out Interactions in Divi 5 As of late!

A structure like this presentations why Divi 5 Interactions is so helpful. A unmarried hover can disclose new content material, transfer presets, and coordinate a couple of components with out customized code. When you remember the fact that development, you’ll adapt it to product playing cards, portfolio pieces, staff layouts, pricing tables, and content material finds throughout your website.

The e book exhibit is only one instance. The actual price is studying how triggers, results, and goals paintings in combination so you’ll reuse the similar good judgment in numerous designs.

The publish Building An Image Hover Reveal Effect Using Divi 5’s Interactions gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!