Card layouts display up in all places a web site, however you continuously rebuild them from scratch or replica and paste the similar stack of modules. Module Teams in Divi 5 permit you to package a picture, heading, textual content, button, or another module into one card and reuse it any place.
On this instructional, we’ll construct a blank card, put it aside for your Divi Library, and import it on any web page. We’ll additionally pair it with the Loop Builder to auto-generate grids for posts or merchandise.
How Module Teams Paintings
A Module Staff in Divi 5 is a container that holds a couple of modules in combination as one packaged unit. Recall to mind it like making a customized construction block. As an alternative of operating with person modules (a picture right here, a heading there, a button elsewhere), you workforce them right into a unmarried entity that strikes, saves, and purposes as one piece.
The ease turns into obtrusive the instant you wish to have the similar design trend in a couple of puts. You construct the cardboard as soon as, drop it anywhere you wish to have it, and all of the construction remains intact, together with its styling and spacing.
Subscribe To Our Youtube Channel
This issues maximum whilst you’re designing at scale. Development a workforce web page with twelve worker playing cards or a product grid with thirty pieces manner you’re both duplicating modules again and again (making updates tedious later) or reconstructing the similar structure from reminiscence each and every time. Module Teams get rid of each issues. Design the cardboard as soon as, put it aside for your library, and pull it onto any web page in seconds.
Module Teams additionally paintings with the Loop Builder, which robotically generates repeated layouts by means of pulling information out of your posts, merchandise, or customized submit varieties. Pair a Module Staff with the Loop Builder, and you’ll be able to design the cardboard template as soon as, whilst Divi robotically fills it with dynamic content material. One card design can populate fifty product listings with out guide paintings.
Be informed The entirety About Divi 5’s Module Teams
Construct Your Card Design
Earlier than we commence construction, right here’s the cardboard we’re aiming for.

It includes a blank symbol house, a daring name, supporting textual content, and a button, all wrapped inside a Module Staff. As soon as stored for your Library, you’ll be able to drop this card into any web page and switch the content material. If you wish to have, you’ll be able to additionally adjust its construction and styling as you prefer. Let’s construct it step-by-step.
1. Construct Card Construction
Open a brand new web page or segment and upload a single-column (Grid) Row. One column assists in keeping the cardboard targeted and shall we the content material glide vertically, which is absolute best for this structure.

In case your Row has a couple of columns, delete the extras. Then regulate the Row width to 55% (simplest when you’re designing, so parts have compatibility smartly).

Throughout the column, insert a Module Staff. This may occasionally act because the container for each part of the cardboard, retaining them bundled as one element.

With the Module Staff in position, get started including modules inside of it. (Use the black plus button so as to add modules within the workforce. The grey plus button ends the gang.)

Upload an Symbol Module to function the cardboard’s visible header. Under it, insert a Heading Module and set it to H2. Upload any other Heading Module, this time styled as H4. You’ll be able to use it as a class label, tagline, or small subheading. Insert a Textual content Module for a brief description. End with a Button Module that hyperlinks to a web page, submit, product, or any URL.
Inside the Module Staff, those modules serve as as a unmarried unit. Transfer the Row construction to 2 columns and drag the gang between them, and the whole thing strikes intact. You’ll be able to nonetheless rearrange modules freely throughout the workforce itself.
2. Taste The Card
At this time, the cardboard is only a stack of modules. Adjust your Headings, Textual content, and Button Modules to compare your design.
Because the workforce holds the whole thing, it turns into the perfect position so as to add any background, spacing, border, or shadow. Any carried out results will wrap round all of the card.
Click on on Module Staff settings > Content material > Background. Upload a delicate colour because the background.

Subsequent, navigate to Design > Border. Upload 25px Border Radius to melt the sides.

We’ll additionally upload a delicate Field Shadow to present it a lifted impact.

You’ll be able to additionally regulate the Vertical Hole between interior modules by means of going to Format (be sure that the Format Sort is ready to Flex) > Vertical Hole.
3. Save Your Card To The Divi Library
As soon as the cardboard appears to be like the best way you wish to have, flip it right into a reusable element by means of saving all of the Module Staff without delay for your Library.
Hover over the Module Staff, click on the 3 dots, and make a selection Save to Library. Give your card a transparent identify. You’ll be able to additionally upload classes or tags to stay issues arranged, particularly on higher websites.
After saving, the cardboard turns into a part of your Divi Library, and you’ll be able to pull it onto any web page. If you happen to paintings throughout a couple of websites, save this card to Divi Cloud to make it to be had in every single place you design.
4. Insert It Any place
To reuse the cardboard on a brand new web page, open the Divi Builder and upload a Row. Transfer to the Upload From Library tab.

Within the subsequent window, make a selection your stored card design.

All the card drops in with the similar construction, styling, and spacing you already arrange. Exchange the picture, replace the textual content, or trade the button hyperlink.
Bonus: Auto-Generate Card Grids With The Loop Builder
Now that you’ve a Module Staff stored, you’ll be able to pair it with the Loop Builder to auto-generate complete grids. The Loop Builder robotically pulls content material out of your posts, merchandise, or customized submit varieties and populates repeated layouts. Design the cardboard as soon as as a Module Staff, attach it to the Loop Builder, and watch it fill with dynamic content material.
The similar card construction you constructed can now show weblog posts, WooCommerce merchandise, workforce participants, portfolio pieces, or another content material kind. Let’s take a look at two not unusual examples.
1. Weblog Submit Loop
Say you wish to have to show your newest weblog posts in a grid. Upload your card structure from the library and move to the row’s column settings > Content material > Loop. Flip it on, set the Submit Sort to Posts, choose the selection of posts to show, and go away the opposite settings unchanged.
Hover over the content material fields to find the Dynamic Content material icon and make a selection related choices. After you attach each and every box to Dynamic Content material, the Loop Builder populates your card with the featured symbol, submit name, excerpt, and hyperlink for each and every submit.
2. Product Loop
The method is similar for WooCommerce merchandise. Create a brand new Loop Builder Row, set the Submit Sort to Merchandise, and make a selection a selected class (or go away unchanged). You’ll be able to pull in product pictures, titles, costs, and Upload to Cart parts by means of including the suitable Woo modules and connecting Dynamic Content material.
The Module Staff maintains visible consistency, whilst the Loop Builder handles the information.
You’ll be able to additionally customise what seems in each and every card. In case your merchandise don’t use classes otherwise you’d want to not display the date, delete the ones modules from the Loop Merchandise. Wish to upload writer names, learn time, or customized fields? Drop the ones modules into the gang, choose the related choices by means of Dynamic Content material, and the Builder will populate them dynamically.
Since this card makes use of Design Variables, updating the design throughout each example takes seconds. Exchange the cardboard’s background colour by means of updating your Number one Colour variable. To regulate the border radius, replace a Border Radius Design Variable. Each card the usage of the ones variables updates in an instant.
This is applicable to spacing, typography, button kinds, and another belongings managed by means of a Design Variable. One trade updates all of the device, from a handful of playing cards to masses generated during the Loop Builder.
Take a look at Module Teams In Divi 5 These days!
You currently have a card design stored for your Divi 5 Library that works throughout any web page and robotically populates with dynamic content material during the Loop Builder. Extra importantly, you have got a workflow that scales.
Design the construction as soon as, keep watch over it globally with Design Variables, and let the Loop Builder care for repetition. This identical method works for workforce grids, carrier playing cards, testimonial layouts, or any repeating trend you wish to have on a web site.
The submit How To Create A Reusable Card Module Staff In Divi 5 seemed first on Chic Issues Weblog.
WordPress Web Design