Presets are helpful on their very own. You save a mode, use it on a component, and steer clear of rebuilding the similar design by way of hand. However as soon as a website grows, remoted presets don’t seem to be sufficient. A button preset, a border preset, a spacing preset, and a colour worth might all be comparable, but when they aren’t hooked up, each design trade nonetheless creates further paintings.
This is the place Divi 5’s multi-level preset device turns into vital. Design Variables, Choice Team Presets, Component Presets, Composable Settings, and Nested Choice Presets can paintings in combination as hooked up layers.
As a substitute of saving disconnected kinds, you’ll construct a device the place variables feed presets, smaller presets sit down within higher presets, and Component Presets deliver the ones selections in combination into reusable elements. Stacking then means that you can layer contextual diversifications with out making a separate preset for each conceivable use case.
On this information, we’ll stroll thru how the device works, the place Nested Choice Presets have compatibility, why Composable Settings issues, and tips on how to construct a preset construction that turns into more uncomplicated to handle as your website grows.
How Divi 5’s Multi-Stage Preset Gadget Works
Divi 5 presets began with the intention to save and reuse kinds. Now they may be able to paintings extra like a hooked up design device. The theory is modest: every layer will have to reference the layer beneath it.
A colour, font, spacing worth, or radius begins as a Design Variable. That variable will get used within an Choice Team Preset. That Choice Team Preset can be utilized by itself, stacked with different Choice Team Presets, nested within some other Choice Team Preset, or integrated within an Component Preset. The Component Preset then turns into a whole reusable element.
When the root adjustments, the hooked up layers can replace with it.The latest piece of the program is Nested Choice Presets. The title can sound like a separate preset kind, however the thought is extra explicit than that: a Nested Choice Preset continues to be an Choice Team Preset at its core. It turns into “nested” when it’s implemented to an choice crew within an alternative choice crew or within a module sub-element.
That issues as a result of many vital design selections are living beneath the top-level module. A Name To Motion module has a button. A Blurb has a picture and name. A Touch Shape has fields and a put up button. With Composable Settings, the ones sub-elements can reveal further choice teams akin to Border, Background, Spacing, Sizing, Change into, or Animation. As soon as the ones nested choice teams are to be had, they may be able to use presets too.
This creates an actual chain of reusable selections. For instance:
- Design Variable: Radius Huge
- Choice Team Preset: Border: Tablet
- Choice Team Preset: Button: Number one
- Nested Choice Preset: Border: Tablet implemented throughout the Button choice crew
- Component Preset: CTA: Promo Card
If the radius adjustments, you’ll replace the variable or the Border preset as soon as. Each hooked up Button preset, nested button border, and CTA preset can practice. That’s the distinction between saving kinds and construction a device.
The Major Layers In A Divi 5 Preset Gadget
A powerful Divi 5 preset device has 3 major layers. Composable Settings and Nested Choice Presets prolong how deeply the ones layers can succeed in.
1. Design Variables
Design Variables sit down on the basis. They retailer reusable uncooked values akin to colours, fonts, numbers, textual content, hyperlinks, and photographs. Examples come with:
- Number one Colour
- Heading Textual content Colour
- Frame Font
- Spacing Medium
- Radius Huge
- Shadow Blur
Variables will have to describe the position of a price, now not best the worth itself. A variable known as Number one Colour nonetheless is sensible if the logo colour adjustments later. A variable named after a hex code does now not.
Variables are the least visual a part of the device, however they bring essentially the most weight. In case your presets use variables as a substitute of hardcoded values, international updates change into a lot more uncomplicated.
2. Choice Team Presets
Choice Team Presets save one crew of settings, akin to Border, Field Shadow, Spacing, Background, Textual content, Button, Sizing, or Symbol.
They’re extra versatile than Component Presets as a result of they aren’t tied to 1 module kind. A Border preset will also be implemented to any detail that exposes the Border choice crew. A Spacing preset will also be reused throughout Sections, Rows, Columns, Teams, and modules the place that choice crew is to be had.
Choice Team Presets may also be stacked. That implies you’ll follow multiple preset to the similar choice crew when you wish to have a base genre plus a contextual variation. With Nested Choice Presets, an Choice Team Preset too can include some other Choice Team Preset. That’s what offers this deposit extra intensity than a easy stored environment.
3. Component Presets
Component Presets save the whole design of a particular module or detail kind. A Button Component Preset applies to Button modules. A Blurb Component Preset applies to Blurbs. A Touch Shape Component Preset applies to Touch Paperwork. Every Component Preset can come with a couple of Choice Team Presets within it, so the whole element nonetheless remains hooked up to smaller reusable selections.

Component Presets may also be stacked. This comes in handy when a module wishes a base element genre plus a number of contextual diversifications.
Component Presets also are the place defaults change into helpful. Each module kind may have a default preset. When a default is assigned, new circumstances of that module get started with the preset styling already implemented. That implies a brand new Button, Blurb, Shape, or Team can arrive nearer in your design device with out handbook styling each time.
The Behaviors That Make Presets Multi-Stage
The layers subject, however the device turns into robust on account of how the ones layers behave in combination. 4 behaviors do lots of the paintings: Nesting, Stacking, Composable Settings, and Nested Choice Presets.
1. Nested Presets
Nested Presets let one preset are living within some other preset whilst staying hooked up to its authentic supply. For instance, a Button Component Preset may come with:
- Textual content: Button Label
- Spacing: Button Padding
- Border: Tablet
- Field Shadow: Delicate
Every of the ones smaller Choice Team Presets can nonetheless be edited from its personal supply. When you replace Border: Tablet, each Button preset the use of that border can replace with it.
2. Stacked Presets
Stacked Presets allow you to follow multiple preset to the similar detail or choice crew. This is helping you steer clear of developing too many diversifications. As a substitute of establishing separate presets for each conceivable context, you’ll stay one base preset and layer centered diversifications on peak.
For instance, a Textual content module may use:
- Textual content: Frame Base
- Textual content: Tag
- Textual content: Gentle
The bottom preset controls the principle typography. The tag preset provides the label remedy. The sunshine preset adjustments the textual content colour for a dismal part. Stacking helps to keep your preset library smaller. You’ll be able to reuse one base genre and follow best the contextual distinction when wanted.
3. Composable Settings
Composable Settings means that you can permit further design choice teams for module sub-elements.
That is vital as a result of many modules are manufactured from smaller portions. A Blurb has a picture, name, and frame textual content. A Name To Motion has a button. A Touch Shape has fields. With out Composable Settings, a few of the ones smaller portions won’t reveal the design controls you wish to have.
With Composable Settings, you’ll toggle on further choice teams for the ones sub-elements. For instance, you’ll permit:
- Border for a Blurb symbol
- Sizing for a CTA button
- Background for frame textual content
- Change into for an icon
- Animation for a nested symbol
Composable Settings may also be used within presets. When you permit explicit nested choice teams within a preset, the ones teams can seem routinely when that preset is used. That helps to keep the design panel cleaner whilst nonetheless giving reusable get admission to to deeper styling controls.
4. Nested Choice Presets
Nested Choice Presets are the place Composable Settings and presets meet. After Composable Settings exposes a nested choice crew, that choice crew can use a preset. For instance, in case you permit Border controls for a CTA button sub-element, you’ll follow the similar Border: Tablet preset you utilize in different places.
That is the important thing difference: a Nested Choice Preset isn’t a random further layer floating outdoor the device. It’s an Choice Team Preset getting used within a nested choice crew. That implies the similar reusable choice can succeed in extra puts.
Why Preset Order Issues
A multi-level preset device works absolute best when it’s constructed from the ground up:
- Step 1: Outline Design Variables.
- Step 2: Create core Choice Team Presets that use the ones variables.
- Step 3: Permit Composable Settings the place sub-elements want reusable controls.
- Step 4: Practice Nested Choice Presets to these nested choice teams.
- Step 5: Construct Component Presets that come with your Choice Team Presets and Nested Choice Presets.
- Step 6: Use stacking for contextual diversifications.
- Step 7: Check the device with international adjustments.
This order helps to keep the device hooked up. When you skip the root, your presets might nonetheless save time, however they are going to now not replace as cleanly later.
How To Construct A Multi-Stage Preset Gadget In Divi 5
Now let’s stroll throughout the procedure from the root up.
Step 1: Outline Your Design Variables
Open the Variable Supervisor from the left sidebar of the Visible Builder. That is the place your reusable values are living. Divi helps variable sorts akin to Colours, Fonts, Numbers, Pictures, Textual content, and Hyperlinks.

Get started with role-based colour variables. Divi comprises default colours akin to Number one, Secondary, Frame, Heading, and Hyperlink. Replace the ones values to check your emblem earlier than developing further variables.
If the design wishes extra colours, upload them with names that describe their position. Examples come with:
- Accessory
- Floor
- Muted Textual content
- Border Gentle
- Good fortune
- Caution

Then outline the values will repeat around the website. Below Fonts, set your Heading and Frame fonts. Below Numbers, upload spacing values, radius values, widths, and different reusable measurements. Stay this record centered. Variables are most respected once they constitute values you’ll use time and again throughout presets.
The objective is to create a competent supply of reality earlier than construction presets on peak of it.
Step 2: Create Your Core Choice Team Presets
After variables are in position, create the Choice Team Presets you’ll reuse maximum incessantly. Those might come with:
- Textual content: Heading Huge
- Textual content: Frame Common
- Button: Number one Crammed
- Button: Secondary Define
- Spacing: Segment Huge
- Spacing: Card Padding
- Border: Card
- Border: Tablet
- Shadow: Delicate
- Background: Floor
To create an Choice Team Preset, open a component within the Visible Builder and pass to the Design tab. To find the choice crew you wish to have to avoid wasting, hover over its label, and click on the preset icon. Make a choice Upload New Preset if you wish to construct it from scratch, or New Preset From Present Types if the present detail already has the manner you wish to have to avoid wasting.
The vital section is how you place the values. When a box will have to keep international, reference a Design Variable as a substitute of typing a static worth. For instance, a heading preset may use a Font Variable, a Quantity Variable for measurement, and a Colour Variable for textual content colour.
A Button preset may use the Number one Colour variable for its background.

A Border preset may use a Quantity Variable for radius.

That is what makes the device maintainable. The Choice Team Preset does now not simply retailer a price; it retail outlets a hooked up choice.
Step 3: Use Composable Settings For Sub-Parts
Subsequent, make a decision which module sub-elements want deeper styling controls.
For instance, within a Blurb module, it’s your decision extra keep watch over over the picture, name, icon, or frame textual content. Within a Name To Motion module, you might wish to genre the nested button with the similar presets you utilize on standalone buttons. Within a Touch Shape, it’s your decision box borders, spacing, or center of attention kinds to practice the similar device as the remainder of the website.
Composable Settings means that you can reveal the ones further choice teams. To make use of it, open a module, pass to the Design tab, hover over the sub-element choice crew, and click on the Toggle Choices icon. Then permit the choice teams that sub-element wishes. For instance:
- Permit Border for a CTA button.
- Permit Sizing for a Blurb symbol.
- Permit Spacing for a nested name.
- Permit Background for a kind box crew.
- Permit Change into or Animation for a visible sub-element.
Best permit the choice teams you in truth want. The purpose isn’t to make each sub-element display each conceivable environment. The purpose is to reveal the controls that are supposed to take part on your design device.
Step 4: Practice Nested Choice Presets
As soon as Composable Settings exposes a nested choice crew, follow your current Choice Team Presets to it. For instance:
- Practice Border: Tablet to a nested CTA button.
- Practice Border: Card to a Blurb symbol.
- Practice Spacing: Compact to a sub-element container.
- Practice Textual content: Heading Small to a nested name.
At that time, the ones presets serve as as Nested Choice Presets as a result of they’re getting used within nested choice teams.
This helps to keep sub-element styling hooked up to the similar device as the remainder of your website. A border preset can keep watch over a standalone Button, a nested CTA button, and a kind box border. A spacing preset can keep watch over a module wrapper and a nested sub-element. The reusable choice remains in a single position.
Step 5: Construct Component Presets That Come with Your Preset Gadget
As soon as the core Choice Team Presets and Nested Choice Presets are able, use them within Component Presets. Component Presets flip smaller styling selections into entire reusable elements. For instance, an E mail Choose-In module may use:
- Spacing: Card Padding
- Background: Floor
- Textual content: Heading Medium
- Textual content: Frame Common
- Button: Number one Crammed
- Border: Card
- Shadow: Delicate
Open the module, follow the related Choice Team Presets throughout its Design tab, permit any wanted Composable Settings for sub-elements, follow Nested Choice Presets the place wanted, then save the module as an Component Preset from the preset menu within the top-right nook of the settings panel.
Make a choice New Preset From Present Types.
The Component Preset now carries the ones smaller preset selections with it.

A Blurb Component Preset follows the similar common sense. Practice the appropriate Identify Textual content preset, Frame Textual content preset, Spacing preset, Border preset, and any nested presets wanted for the picture or name, then save the Blurb as an Component Preset.

While you edit one of the most nested Choice Team Presets later, each Component Preset the use of it will possibly mirror that adjust.
The similar manner works for Touch Paperwork, Name To Motion modules, Pricing Tables, Teams, Pictures, and some other module you utilize incessantly.

After your core Component Presets are able, open the Preset Supervisor and set defaults for the module sorts you utilize maximum. That method, each new example begins nearer in your device.
Step 6: Practice Stacked Presets For Diversifications
Now not each design variation wishes its personal complete Component Preset. A greater manner is to create a base preset, then stack smaller presets on peak when the context adjustments.
For instance, a Textual content module may get started with a base textual content preset. Then it’s essential stack a tag-style preset and a dark-section colour preset when wanted.
Use stacking for centered diversifications akin to:
- Gentle textual content on darkish backgrounds
- Greater spacing in hero sections
- Compact spacing in sidebars
- Accessory borders on featured playing cards
- Selection button sizes
- Particular hover remedies
Stacked presets let you steer clear of making a bloated library of just about equivalent kinds. The bottom preset remains shared, whilst the adaptation handles best the variation.
Use the similar common sense with Choice Team Presets. If a base Button preset handles the principle button genre, a 2d Button preset can layer on a measurement variation, a dark-section variation, or a hover remedy. If the ones presets overlap, the later preset controls the overlapping worth.
Step 7: Check The Gadget With A International Trade
After the device is constructed, take a look at it. Open the Variable Supervisor and alter a price that a couple of presets reference. For instance, trade the Number one Colour, a spacing worth, or a radius worth.
Then evaluation your web page. Parts the use of presets hooked up to that variable will have to replace. You’ll be able to additionally take a look at on the preset point. Edit a core Choice Team Preset, akin to Border: Card or Button: Number one Crammed, and take a look at the place that adjust seems.
If one thing does now not replace, that typically approach certainly one of 3 issues:
- The worth was once hardcoded as a substitute of hooked up to a variable.
- The detail isn’t the use of the predicted preset.
- An area override is taking precedence over the preset worth.
That isn’t a failure. It’s an audit. It presentations the place the device nonetheless has gaps.
Managing Your Gadget With The Preset Supervisor
The Preset Supervisor is the central position to control your preset device.
Open it from the left sidebar of the Visible Builder. From there, you’ll create, edit, replica, reorder, delete, import, export, and assign default presets with out opening every module separately.
When modifying a preset used throughout many features, use the Preset Preview panel. It will give you a more secure position to regulate the preset earlier than saving adjustments that can have an effect on the website globally. The Preset Supervisor could also be helpful for conserving your library blank. Take away presets you now not use, replica presets when you wish to have a managed variation, and reorder vital presets so they’re more uncomplicated to search out.
Export Variables And Presets For Long term Tasks
As soon as your device is entire, export it so you’ll reuse it on long term builds. Design Variables and Presets will also be exported from their respective managers. The Variable Supervisor exports your variables, whilst the Preset Supervisor exports your presets. In combination, the ones information lift the reusable basis of your design device into some other Divi 5 website.
That is particularly helpful for businesses, freelancers, and groups that need each new construct to start out from the similar design basis, slightly than rebuilding variables and presets from scratch.
Best possible Practices For A Multi-Stage Preset Gadget
A preset device will have to make design paintings more uncomplicated, now not more difficult to control. Stay the construction transparent from the start.
- Title by way of position: Use names like Number one Colour, Border: Card, and Button: Number one Crammed as a substitute of names tied to 1 web page.
- Construct from the ground up: Get started with variables, then Choice Team Presets, then Component Presets, then layouts.
- Stay presets centered: One preset will have to have a transparent activity. Keep away from developing a number of presets that best vary by way of one hardcoded worth.
- Use stacking for context: Stack small variation presets as a substitute of constructing a brand new complete preset for each context.
- Use nesting for construction: Let smaller Choice Team Presets feed higher Choice Team Presets and Component Presets.
- Use Composable Settings deliberately: Disclose sub-element choice teams once they wish to take part within the design device.
- Deal with Nested Choice Presets as hooked up OGPs: Use them to deliver the similar preset selections into nested choice teams as a substitute of styling sub-elements by way of hand.
- Set defaults for repeated modules: Default presets scale back handbook styling when including new modules.
- Audit native overrides: Use overrides when wanted, however steer clear of turning them into hidden one-off design methods.
- Export your device: Save variables and presets so your design basis can shuttle to long term initiatives.
Construct A Preset Gadget That Scales With Your Web page
The true worth of Divi 5’s multi-level preset device is not only pace. It’s consistency.
Variables outline the values. Choice Team Presets flip the ones values into reusable design selections. Nested Choice Presets deliver those self same selections into nested choice teams. Component Presets flip hooked up selections into entire elements. Stacked Presets maintain context with out bloating the library. Composable Settings shall we deeper module portions sign up for the similar workflow.
When the ones layers are hooked up, your website turns into more uncomplicated to replace since the device is aware of the place every choice lives. That implies a colour trade, spacing adjustment, border replace, or button refresh can transfer throughout the design from one supply as a substitute of changing into a module-by-module cleanup activity. Construct the device as soon as, stay it arranged, and each web page after that turns into more uncomplicated to design, replace, and handle.
The put up How To Construct A Multi-Stage Preset Gadget In Divi 5 gave the impression first on Chic Subject matters Weblog.
WordPress Web Design
