Creating Interactive Product Cards With Divi 5’s Loop Builder

by | Mar 20, 2026 | Etcetera | 0 comments

A product picture must do two issues directly: draw the reader in visually and provides them sufficient context to do so. However loading each and every element onto the cardboard in advance briefly clutters the structure and competes with the picture itself.

A picture hover divulge solves that well. The picture will get the whole highlight by means of default, and the supporting main points seem most effective when the person hovers over it. On this educational, we’ll construct precisely that during Divi 5, the place soaring anyplace on a product card fades in an overlay with the product title, worth, and a hyperlink to the product web page.

What We’re Development

Right here’s a have a look at the completed outcome prior to we begin construction it.

The overlay covers the whole picture space, so the divulge triggers easily regardless of the place the cursor lands. A cushy fade brings within the product title, worth, and button in opposition to a darkened background, giving the cardboard a blank, layered really feel with out overcomplicating the structure.

The Key Steps Wanted For This Impact

This construct breaks down into 3 portions: putting in place the product loop, layering the overlay content material, and wiring up the hover impact.

See also  5 Best WordPress Podcast Plugins in 2023

Step 1. Set Up The Product Grid The use of The Loop Builder

The structure begins with a easy construction. Upload a brand new Phase in your web page, insert a Row inside of it, and delete the 2 default columns so that you’re left with a unmarried column.

Add a new row

Now permit the Loop Builder on that column and set the Put up Kind to Merchandise. This tells Divi to copy the cardboard structure robotically for each and every product on your retailer.

Set the row’s Structure Kind to Grid and activate Equivalent Peak Rows to stay the playing cards uniform around the structure.

Set the row layout to grid

Then set the Horizontal and Vertical Gaps to Min (4vw, 60px) for constant spacing between playing cards.

Set horizontal and vertical gaps

With the grid able, pass to the column’s Background Symbol settings and set the supply to Dynamic Content material > Loop Featured Symbol. Every card will now pull in its product picture robotically.

Upload an 8px Border Radius to around the corners rather.

Add a border radius

At this level, the grid must be exhibiting your product pictures in a blank, repeating structure. In the next move, we’ll construct the overlay that sits on most sensible of each and every card.

Step 2. Layer The Overlay On Every Card

Get started by means of including a Row inside of the similar column. This row will act because the overlay container.

Pass to Background Colour > Gradient, set the primary colour’s transparency to 0%, and set the second one colour to black. This creates the darkish overlay tint on most sensible of the product picture.

See also  How To Design A Homepage (2025 Guide)

Throughout the row, insert a Workforce module with a 2-column structure, then upload a Textual content module to each and every column.

Within the left column, set the Textual content modules to Dynamic Content material: one to Loop Product Identify and the opposite to Loop Product Worth. Every card will then pull in the proper product title and value robotically.

Beneath the Workforce, upload a Button module and set its hyperlink to Dynamic Content material > Loop Hyperlink so the button takes the person without delay to that product’s web page.

Add a button module

Now set the Row Peak to 100% so the overlay stretches around the complete product card.

In spite of everything, alter the spacing at the Workforce and Button to put the content material the place you need it throughout the overlay. As soon as that’s performed, the cardboard is absolutely constructed and able for the hover impact.

Adjust spacing values

Step 3. Cord Up The Hover Impact

The overlay is in position. Now we simply wish to inform Divi when to turn it.

Make a selection the overlay row and pass to Filters. Within the default state, set the Opacity to 0%. This assists in keeping the overlay hidden till the person interacts with the cardboard.

Transfer to the Hover state and set the Opacity to 100%. Divi will take care of the transition robotically, so the overlay fades in easily as quickly because the cursor strikes over the cardboard.

Since the overlay spans the whole card, the divulge triggers from anyplace at the picture moderately than a small hotspot. The product identify, worth, and button seem proper the place the person’s consideration already is.

Ultimate Consequence

Right here’s the completed structure in motion.

See also  How Table Hoteling Can Reinforce Your Workplace Workspace

Get started Development In Divi 5 These days!

This hover divulge structure is an easy method to stay product grids visually targeted whilst nonetheless giving consumers the tips they want. Via letting the picture take middle level and revealing main points most effective on interplay, the design remains blank with out sacrificing usability.

Since the structure is constructed with Divi 5‘s Loop Builder and dynamic content material, it robotically adapts in your retailer. Upload, take away, or replace merchandise, and the grid updates itself with none further structure paintings.

As soon as you recognize the construction, you’ll be able to reuse the similar trend throughout your website. The similar methodology works nice for portfolios, group participants, weblog posts, and any image-based grid the place you need main points to seem most effective when the person interacts with the cardboard.

Take a look at experimenting with other overlay gradients, animations, or button kinds to check your website’s branding and create a extra attractive product surfing revel in.

The put up Creating Interactive Product Cards With Divi 5’s Loop Builder 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!