Elements in Divi 5 can help you reuse a design, replace it from one stored supply, and make a choice which content material every use can alternate.
We’ll construct 3 provider playing cards for Logo Id, Internet Design, and Inventive Path. They percentage their spacing, symbol frames, typography, and button design, whilst every card has its personal photograph, identify, description, and hyperlink.
We’ll save one card Crew as a Element, then customise its attached copies. You’ll additionally discover ways to reset native values, detach components, and arrange the stored supply.

What Are Elements In Divi 5?
A Element is a reusable part with a shared supply saved within the Divi Library. It may be a unmarried module or a bigger part containing a number of modules, akin to a Crew, row, or phase.
Every use of that Element on a web page is an occasion. Recall to mind the supply because the design you care for and the cases as its attached makes use of all over your web page.
For our provider playing cards, the supply will regulate the cardboard construction, padding, rounded corners, symbol proportions, typography, and button design. Every occasion can be allowed to switch its symbol, class, identify, description, button label, and vacation spot.
The Evolution Of World Parts
Elements prolong Divi’s world components with extra granular regulate over synchronization inside of nested layouts. You’ll divulge a Heading module’s textual content inside of a reusable card whilst preserving its font, measurement, and coloration controlled by means of the supply.
This makes one reusable design appropriate for a number of content material diversifications. You don’t want a separate Element for Logo Id, Internet Design, and Inventive Path when their playing cards percentage the similar construction.
Elements, Presets, And Variables
Divi’s reusable design gear have other roles:
- Elements reuse components and layouts, together with their construction and synchronized settings.
- Presets reuse collections of settings, akin to a heading taste or button design.
- Design Variables reuse particular person values, akin to a emblem coloration or spacing size.
You’ll use presets and variables inside of a Element. For instance, a button preset can provide its styling whilst the Element we could every occasion use other button textual content. Our information to the use of Design Variables with Presets explains the styling basis.
Earlier than saving the primary card, let’s distinguish the 2 enhancing contexts you’ll use all over this instructional.
Supply enhancing provides you with your entire settings for the reusable design. First choose the module you wish to have to switch, then make a choice Edit Element from the Element menu beside its identify. The supply editor contains Element Settings and backside Save and Cancel controls. Pink styling seems in each supply and occasion enhancing, so use the ones controls to test your enhancing context.

You utilize this mode to switch the shared card design and come to a decision which fields will also be edited in the neighborhood. Saving a supply alternate asks you to substantiate that it is going to replace cases throughout your web page. Test the supply identify sooner than confirming.
Edit An Example To Exchange Its Allowed Fields
Opening a attached occasion displays the fields its supply means that you can edit in the neighborhood. A Heading may display handiest its Content material tab, for instance, as a result of its typography remains beneath supply regulate.
To go back from supply enhancing, save and make sure any supply adjustments, then shut its settings window with the X. Make a choice the kid module within the web page occasion once more. You don’t want to detach it to edit an allowed content material box.
Make a choice the related kid module to seek out its native fields. The outer Crew may don’t have any editable settings even supposing its Symbol, Heading, Textual content, and Button modules include editable content material.
Converting the Internet Design card’s identify in occasion mode adjustments that card. Enhancing the supply’s heading typography adjustments the synchronized typography throughout its attached cases.
Editable Fields Inherit Till You Override Them
Creating a box editable permits customization; it doesn’t straight away give each occasion a separate worth. The sphere can proceed inheriting its supply default till you input a neighborhood override.
Our supply card begins with the identify Logo Id. A newly inserted occasion can inherit that identify. Converting one occasion to Internet Design offers that occasion its personal heading whilst leaving the supply and different cases unchanged.
Resetting the native box eliminates its override and restores inheritance. That is other from typing the present supply textual content manually: an inherited box continues following long term supply adjustments.
Earlier than You Get started
Use a Divi 5 set up that comes with Elements and open a web page within the Visible Builder. You’ll apply along side a provider card you have already got or construct the beginning Crew described beneath.
We’ll use Layers to make a choice the proper boxes and modules. Click on its stacked-layers icon within the left builder sidebar, then use the arrows beside every layer to increase its kids. If those controls are new to you, our information to including and organizing components explains the builder’s phase, row, column, and module hierarchy.
Obtain And Import The Starter Format
Obtain the starter structure to apply along side the similar design. It comprises 3 atypical service-card Teams, and not using a Elements or Slots. We’ll create the Element connections all through the educational.
- Create a clean apply web page and open it within the Divi Visible Builder.
- Open the Web page Menu and make a choice Import to open the web page’s Import & Export window.
Make a choice the starter record and make a choice the import settings to your clean apply web page:
- Click on Select Document and choose components-starter-layout.json.
- In this clean apply web page, go away Substitute Current Content material checked. Depart Obtain Backup, Import Presets, Import Elements, and Import To New Canvas unchecked.
- Click on Import Format. When the playing cards seem, save the web page with the builder’s top-right Save button.
Use the web page’s import controls for this record. The Element export and import controls coated later arrange stored assets one by one.
Use a clean web page for this alternative import. If you want to maintain an present design, export a backup first or allow Import To New Canvas to import onto a separate canvas.
The imported structure comprises Logo Id, Internet Design, and Inventive Path as standalone playing cards. Stay all 3 till step 3, and is the reason when to take away the second one and 3rd Teams and change them with attached cases.
Get ready The Provider-Card Instance
The starter comprises 3 atypical service-card Teams. Every holds an Symbol, class Textual content, Heading, description Textual content, and Button module.
In Layers, increase the primary card Column and in finding the Logo Id Crew. We’ll save this Crew as our Element. Its background, spacing, and module styling can be shared; the phase advent and three-column row stay atypical web page components.

When you imported the starter, proceed to step 1. In your personal design, end one card Crew first; our equivalent column heights information covers aligning playing cards of various lengths.
How To Create And Use A Provider Card Element
We’ll save the Logo Id Crew as our supply and make its content material fields in the neighborhood editable. Then we’ll insert it into the opposite two columns and customise the ones cases. Stay their visible settings synchronized so all 3 playing cards percentage one maintained design.
Terminology: A box is one environment, akin to Heading textual content or Button Hyperlink URL. Making it in the neighborhood editable permits an occasion to make use of its personal worth. It does now not detach the module or make its different settings unbiased.
1. Save The Card Crew As A Element
Open Layers within the builder sidebar. Make bigger the provider phase, its card row, and the primary column. Make a choice the Crew that comprises the Logo Id card’s 5 modules.
Click on the Crew’s layer to open its settings. On the height of that window, click on the menu beside the part identify and make a choice Save As Element.

Within the Library window, identify the thing Provider Card and stay Save As Element enabled. Save the Crew as one reusable merchandise; you don’t want to save its kid modules as separate Library pieces for this instructional.
Click on Save To Library. Divi creates the shared supply and connects the Crew already at the web page to it.

Make sure to decided on the Crew. Saving all the phase would additionally come with the advent and surrounding card structure, which is a bigger reusable part than we’d like right here.
2. Make The Card’s Content material Editable
In Layers, choose the Symbol module throughout the first card Crew. Open its Element menu and make a choice Edit Element, then increase Content material > Symbol. You at the moment are enhancing that module’s supply settings.
When you choose some other module in Layers, take a look at its enhancing context once more. That variety opens the module’s page-instance settings. Save and make sure every supply alternate sooner than shifting to some other module, then make a choice Edit Element for the following module. This assists in keeping the synchronization controls to be had for each box you want to reveal.
Use the synchronization regulate beside the Symbol box, categorised Make this box editable on part cases. Hover over the sector to show its controls. This permits every card to exchange its photograph whilst preserving the supply’s symbol styling.
After enabling native enhancing, the regulate gives Use the supply part worth for this box. Depart that choice untouched; clicking it might synchronize the sector once more. The screenshot displays the sector with native enhancing enabled.

Alt textual content describes a photograph for other folks the use of display readers. Our instance units it thru Customized Attributes, so every alternative photograph wishes an identical description.
Within the supply Symbol module, open Complex > Attributes. If an alt characteristic already exists, click on its settings icon. Another way, click on Upload Characteristic and create one with those settings:
- Admin Label: Symbol Alt.
- Goal Component: Symbol.
- Characteristic Identify: alt.
- Characteristic Price: An outline of the supply photograph.
The label identifies this characteristic within the builder; the alt identify offers it its serve as. Stay one alt characteristic for the Symbol part.

Shut the Edit Characteristic window the use of its X. Again within the Symbol module’s Attributes settings, make the Attributes assortment editable on cases. This regulate belongs to the gathering, to not the Characteristic Price throughout the smaller enhancing window.

Save and make sure the Symbol module’s supply adjustments the use of the ground Save button. Subsequent, choose the class Textual content module in Layers and make a choice Edit Element from its Element menu. Open Content material > Textual content and make Frame editable the use of the similar synchronization regulate.
Frame is the Textual content module’s content material editor. Use its Visible tab to go into atypical textual content, or its Textual content tab to investigate cross-check HTML. Save and make sure this supply alternate sooner than settling on the following module.

Make a choice the Heading module in Layers, make a choice Edit Element, and open Content material > Textual content. Make its Heading box editable, then save and make sure the supply alternate.

Make a choice the outline Textual content module, make a choice Edit Element, and make its Frame box editable beneath Content material > Textual content. Save and make sure sooner than settling on the Button module. In that module’s Edit Element settings, divulge Button Textual content beneath Content material > Textual content and Button Hyperlink URL beneath Content material > Hyperlink.

You must now have those in the neighborhood editable fields:
- Symbol: Symbol and the Attributes assortment containing Symbol Alt.
- Class Textual content: Frame.
- Heading: Heading.
- Description Textual content: Frame.
- Button: Button Textual content and Button Hyperlink URL.
Depart the Crew’s background, padding, corners, shadow, and structure synchronized. Stay symbol proportions, typography, and button styling synchronized too. We wish other content material inside of the similar card design.
Save the Button module’s supply adjustments with the ground Save button, then click on Verify when Divi explains that the replace impacts cases throughout your web page. This protects the 2 Button fields you simply made editable.

3. Insert Every other Card From The Library
Shut the Element supply settings after saving and confirming. When you imported the starter structure, take away the atypical card Teams from the second one and 3rd columns in Layers. Stay the columns themselves and the primary card Crew that you just stored because the Provider Card Element.
Make a choice the now-empty 2d card Column, open Content material > Parts, and click on Upload Component. Within the picker, make a choice Upload From Library and in finding Provider Card in My Library.
Get started with the Column’s insertion regulate, moderately than one throughout the first card Crew. The brand new Crew belongs without delay inside of its personal column.

Open the thing’s main points and click on Use This Module. The stored Crew and its 5 kid modules are inserted in combination as some other occasion of Provider Card.

Repeat this within the empty 3rd column. Stay one card Crew in keeping with column. The not obligatory conversion workflow beneath explains tips on how to attach a suitable atypical Crew as an alternative of changing it.
You’ll additionally replica a attached Crew at the web page for some other occasion. A web page replica carries its present native values, so overview and alter the ones values for the brand new provider. Duplicating an occasion assists in keeping it attached to the similar supply.
4. Customise The Internet Design Card
Make a choice the Symbol module underneath the second one card Crew in Layers. The layer labels might nonetheless use the supply’s Logo Id names; use their place underneath the second one Column to spot the Internet Design card. You must be enhancing the web page occasion, with out opting for Edit Element. Underneath Content material > Symbol, click on Edit at the symbol preview. Select an acceptable web page or computer photograph out of your Media Library, or use Insert From URL, then click on Insert Into Web page. Stay the picture body inherited from the supply.

For its alt textual content, open Complex > Attributes. If Symbol Alt is indexed, click on its settings icon and alter Characteristic Price to explain the brand new photograph. If no access is indexed, click on Upload Characteristic, make a choice alt, and use those settings:
- Admin Label: Symbol Alt.
- Goal Component: Symbol.
- Characteristic Identify: alt.
- Characteristic Price: An outline of the alternative photograph.
Shut the characteristic window after enhancing. Stay just one alt characteristic concentrated on Symbol; take away any replica access sooner than proceeding.
For a computer photograph, use an outline akin to Computer on a wood desk showing a mountain panorama. Select phrases that describe your personal alternative symbol.

Make a choice the class Textual content module and input 02 / DIGITAL in Frame. Then choose its Heading module and input Internet Design in Heading.

Make a choice the outline Textual content module and input Considerate web sites constructed round your targets. in Frame.

Make a choice the Button module and input Discover web sites in Button Textual content. Open Hyperlink and input your precise Internet Design provider web page URL in Button Hyperlink URL. When you use an anchor, make certain its matching ID exists at the web page.

Our demonstration makes use of #web-design with an identical anchor at the web page. Use your provider web page’s URL for a card that are meant to open some other web page. If you wish to have the similar anchor habits, apply our anchor hyperlinks instructional to create its vacation spot first.

Those values belong to the second one occasion. Its settings window displays the in the neighborhood editable Heading box, whilst the cardboard’s shared design remains attached.

Shut the module settings the use of the X and click on Save on the height correct of the builder to save lots of the web page. You don’t use the supply’s affirmation conversation for those native adjustments.
5. Customise The Inventive Path Card
Repeat the instance-editing procedure for the 3rd card, the use of those values:
- Symbol: A special photograph suitable to ingenious paintings, with its personal descriptive alt textual content.
- Class: 03 / CONTENT.
- Heading: Inventive Path.
- Description: One cohesive imaginative and prescient throughout each touchpoint.
- Button Textual content: Discover ingenious.
- Button Hyperlink URL: Your Inventive Path provider web page.
The primary card can stay the supply defaults for Logo Id. The second one and 3rd playing cards now exhibit native content material diversifications inside of the similar shared design.
Save the web page once more after customizing the 3rd card. There are two save operations on this workflow:
- Supply adjustments: Use Save on the backside of the Element editor, then ascertain the site-wide replace.
- Web page adjustments: Use Save on the height correct of the builder to retain occasion content material and the web page structure.
Make a choice a attached card’s Button module in Layers, then make a choice Edit Element from that module’s Element menu. Exchange its shared button background from charcoal to a burnt orange that fits the phase’s accessory coloration.
Open Design > Button > Background and set the button background coloration to #B94F32. Stay this design box synchronized. Save and make sure the supply replace.

All 3 attached playing cards now obtain the similar button styling. Their native content material and button URLs keep intact as a result of the ones fields permit occasion enhancing and retain their overrides.

You’ll now replace the shared card design with out enhancing every provider’s content material once more.
7. Test Pill And Telephone Layouts
Use the builder’s pill and speak to previews to investigate cross-check your entire phase. Our card row stacks into one column on smaller monitors, and every Crew fills its to be had column width.
The row’s responsive column association belongs to the encompassing web page structure. The cardboard’s padding, symbol body, and typography belong to its Element. Test each when adapting this case to some other web page.

Test for surprising textual content wrapping the use of every card’s precise content material; the supply’s shortest default textual content gained’t divulge each spacing drawback. Save responsive supply adjustments during the Element controls, then save any web page structure adjustments at the web page.
Reset A Native Price To The Supply Default
An occasion override turns out to be useful when a card wishes other content material. When you later need that box to apply the supply once more, reset it.
- Open the Internet Design card’s Heading module in occasion mode.
- Make bigger Content material > Textual content and in finding Heading.
- Use the sector’s Reset regulate.
- The heading returns to the supply’s Logo Id default.

The sphere now inherits long term supply adjustments. For this instructional, input Internet Design once more to revive the service-specific identify sooner than saving the web page.
Converting a supply box again to synchronized is a broader motion. It makes the supply authoritative for that box throughout attached cases, so overview present native content material sooner than converting synchronization regulations.
Attach A Suitable Current Card
You might have already got a number of atypical service-card Teams on a web page. Divi can be offering an present Element as a conversion selection when the chosen part has a suitable construction.
- Make a choice the atypical Crew you wish to have to glue.
- Open the menu beside its identify within the settings window.
- Underneath Convert To Element, make a choice Provider Card.
- Evaluation each in the neighborhood editable box and change any content material that followed a supply default.
- Save the web page.

Conversion connects the Crew to the selected supply. Evaluation each editable box later on, together with the picture and button URL. A worth from the atypical Crew might undertake the supply default as an alternative of turning into a neighborhood override. If the supply isn’t introduced, insert it from the Library and switch your content material into its editable fields.
Detach One Component Or The Complete Element
Detaching turns out to be useful when a component must transform independently editable. Select the smallest scope that fits the alternate.
Detach A Kid Module
For instance, think handiest the Inventive Path heading wishes other typography. Proper-click its Heading module in Layers and make a choice Detach From Element.

That Heading turns into in the neighborhood editable with its complete settings, together with Design and Complex. The remainder of the cardboard remains attached to Provider Card.
To reconnect the similar kid module, right-click it and make a choice Connect To Element. Evaluation the end result, since reconnecting returns synchronized settings to the supply’s regulate.

Detach The Entire Card
Proper-click the outer card Crew and make a choice Detach Element to make all the card an atypical web page part.

The indifferent card assists in keeping its present look and content material, however long term supply updates not care for it. Use this for an intentional one-off design. Stay habitual playing cards attached once they must proceed sharing updates.
Organize Your Element Assets
Open the Elements panel from the builder sidebar to regulate stored assets. That is other from Layers: Layers displays components at the present web page, whilst Elements lists reusable assets.
Identify And Preview The Supply
Select Provider Card to edit its supply. Underneath Element Settings, give it a descriptive identify. Use the preview icon beside the supply identify in its settings header to investigate cross-check the stored design and default content material.

A Library identify identifies the reusable supply. A neighborhood heading akin to Internet Design identifies a specific card’s content material. Converting one does now not require converting the opposite.
Reproduction A Supply For A Separate Design
Use the supply’s Reproduction regulate within the Elements panel when you wish to have a separate reusable design. Rename the replica, for instance Provider Card — Variant, and reserve it.

Duplicating the supply creates some other Element you’ll care for independently. Duplicating an occasion on a web page creates some other attached use of the similar supply. Make a choice from them according to whether or not the brand new card must percentage long term design updates.
Export And Import Elements
Open Import & Export from the Elements panel. In Export, give the record a recognizable identify, akin to Provider Card Assortment, and click on Export Elements to obtain the JSON record.

At the vacation spot website, open the similar window’s Import tab, make a choice the exported record, overview the Import Presets choice, and click on Import Elements. Together with presets is related when the exported designs rely on them.

Evaluation the imported design at the vacation spot website, together with photographs and hyperlinks. Element portability and Design Variable portability are separate portions of shifting an entire design machine.
The place Elements Are Maximum Helpful
The provider card is one sensible instance. The similar manner works every time a number of makes use of must percentage a construction whilst permitting decided on content material to change:
- Workforce playing cards: Shared photograph framing and typography with other names, roles, and biographies.
- Testimonials: Shared quote styling with other quotations and buyer main points.
- Promotional sections: Shared structure and button design with other headlines, photographs, and locations.
- Pricing playing cards: Shared visible construction with editable plan names, costs, and outlines.
- Reusable web page sections: A maintained phase design with sparsely selected native content material fields.
Elements will also be a part of a much wider machine the use of presets and variables. Our information to constructing a design machine with nested and stacked presets covers the styling aspect of that workflow.
Guidelines For A Transparent Element Workflow
- End one helpful instance first. Get to the bottom of spacing, button design, and responsive habits sooner than reusing it broadly.
- Disclose the fields that are meant to range. For those playing cards, that suggests content material and locations whilst the cardboard design remains shared.
- Stay supply defaults helpful. A newly inserted occasion must provide you with a smart start line.
- Test the enhancing context. Supply adjustments impact attached makes use of; occasion adjustments impact the chosen use’s editable fields.
- Evaluation synchronization adjustments. Returning a box to supply regulate can change native values.
- Give every symbol correct alt textual content. Changing a photograph additionally calls for checking its description.
- Take a look at the longest actual content material. A design that matches Logo Id nonetheless wishes to deal with Inventive Path.
- Save each contexts when essential. Verify supply updates, then save page-specific content material and structure adjustments.
Construct Reusable Designs With Elements
Our 3 provider playing cards percentage their structure, symbol frames, spacing, typography, and button styling. Their photographs, titles, descriptions, and locations can range. One supply replace maintains their commonplace design whilst every card continues presenting its personal provider.
Get started with a component you already repeat, reserve it as a Element, and make its variable content material editable. For extra background, learn the Elements unlock announcement, or discover the remainder of Divi’s website-building gear.
The submit Exploring Elements In Divi 5 seemed first on Sublime Topics Weblog.
WordPress Web Design

