A emerging website is easier to take care of when repeated sorts share a no longer atypical provide. CSS classes make stronger that method by way of letting a few parts use the equivalent style regulations. Exchange a shared rule, and the elements using it may be able to exchange together.
Divi 5 brings that idea into the Visual Builder through a attached design method. Design Variables provide reusable values, presets prepare shared settings, and the Preset Supervisor will give you a central place to take care of them. Composable Settings and Nested Selection Presets extend those connections to the individual parts inside modules.
Let’s check out how the ones choices art work together and the way in which they overview with a class-based CSS workflow.
What Is Magnificence-Primarily based utterly Design?
A CSS class permits you to purpose a few parts with shared style regulations. For example, a .primary-button rule might define a background color, padding, and font weight. Buttons using that class share those declarations without having a separate copy on each phase.

Updating the rule updates the homes it controls anyplace it applies. Additional classes and responsive regulations can introduce variations, so shared foundations don’t require every phase to appear equivalent.
The practical benefits are consistency and easier maintenance. A brand spanking new internet web page can reuse established button, heading, and spacing sorts. A client revision can exchange a shared definition instead of requiring the equivalent edit right through many parts.

Clear names and tasks make the process easier to use. A class for rounded corners, for example, can serve quite a lot of parts without controlling their colors or typography.
Divi permits you to create reusable values and types while working inside the builder. Design Variables, Selection Personnel Presets, and Phase Presets each take care of a singular stage of the design.
Design Variables Provide Reusable Values
Design Variables can help you define a value once and reference it in appropriate fields. A essential color can give buttons, links, and icons; a spacing price can also be reused right through quite a lot of card designs.
Variables make stronger every styling and content material subject matter:
- Colors and Fonts: Shared palette values and typefaces.
- Numbers: Sizes, spacing, widths, and corner radii, at the side of supported CSS functions similar to
clamp(). - Images and Gradients: Reusable assets and fills, at the side of those created with the Gradient Editor and Gradient Variables.
- Text and Links: Repeated labels and places.
Open the Variable Manager from the Visual Builder’s sidebar, make a selection a type, and enter a descriptive determine and worth. Names similar to Primary Color and Heading Measurement have the same opinion provide an explanation for each variable’s purpose.

In an appropriate field, use the variable or Dynamic Content material subject matter picker to choose it. The available choices depend on the field type.
![]()
Updating the variable then updates its comparable fields. Getting into the equivalent price manually does now not create that connection.

Variables can also be referenced directly on parts or inside presets. This lets quite a lot of reusable sorts draw from the equivalent palette, typefaces, and spacing values.

Selection Personnel Presets Percentage A Style Treatment
Choice Workforce Presets save settings for a decided on workforce, similar to typography, spacing, borders, backgrounds, or shadows.
A Border preset can provide footage, columns, and taking part in playing cards the equivalent corner treatment anyplace an appropriate Border workforce is available. Those parts can keep their own colors and layouts while sharing that component.
| Use Selection Personnel Presets When | Example Scenario |
|---|---|
| Styling repeats right through a few phase varieties | A box shadow that appears on sections, columns, and modules |
| Building foundational design strategies | Typography settings for all H1 headings sitewide |
| Button sorts appear in different modules | Contact forms, blurbs, and CTAs all need the equivalent button treatment |
| Growing reusable spacing patterns | Consistent padding that applies to fairly a large number of bins |
| Putting in border treatments | A 2px radius border used on footage, rows, and buttons |
| Configuring scroll effects | Fade animations that art work right through sections and modules |
| Defining background sorts | Gradient backgrounds performed to a few phase varieties |
To create one, configure the comparable workforce, hover over its heading, and click on at the preset icon. Make a choice New Preset from Provide Varieties and gives it a recognizable determine.

To reuse it, make a choice the preset from an appropriate risk workforce elsewhere. Use its famous person icon if it is going to must become the default for that workforce.
Keep each preset’s purpose clear. A Border preset might control an entire border treatment or best its corner radius. Targeted presets are easier to combine without introducing unrelated changes.

Phase Presets Put across A Design Together
An Phase Preset combines settings for an element, at the side of its typography, backgrounds, spacing, and other configured attributes. Presets moreover follow to structure parts similar to sections, rows, and columns.
Phase Presets observe their phase type: a Button Phase Preset is for Button modules, while a Text Phase Preset is for Text modules. Selection Personnel Presets provide the reusable pieces that can art work right through appropriate groups in different parts.
| Use Phase Presets When | Example Scenario |
|---|---|
| Growing whole module designs | A fully styled CTA module with typography, colors, spacing, and effects |
| Building regimen internet web page sections | Hero sections that appear on a few landing pages |
| Styling testimonial layouts | Testimonial modules with consistent design right through your internet web page |
| Deploying pricing tables | Pricing modules that need equivalent styling all the way through |
| Putting in serve as sections | Feature rows with explicit layouts and styling patterns |
| Growing branded content material subject matter blocks | Blurb modules at the side of your company’s visual identity baked in |
| Building navigation parts | Menu modules styled to test your header design |
To create an Phase Preset, style the phase, open the Phase Preset menu at the best of its settings, and make a selection New Preset from Provide Varieties. Determine it by way of its place, similar to Primary CTA.

Use the equivalent menu to apply it to each different matching phase. Setting it for the reason that default provides new parts of that sort a shared position to start out.
An Phase Preset can also reference Selection Personnel Presets. A card design can use a shared Border preset, keeping up that treatment hooked up to other designs instead of maintaining its non-public independent copy.

Organize And Preview The Tool In One Place
The Preset Manager, available from the Visual Builder’s sidebar, brings Phase Presets and Selection Personnel Presets proper right into a searchable, filterable panel. You’ll be capable of create, edit, reproduction, delete, reorder, and set defaults without first finding an example on a internet web page.
This will give you in a different way to begin out a venture: resolve your reusable button and card sorts, then use them to build the structure. Descriptive names similar to Border / Rounded and Button / Primary make those choices easier to hunt out.
Growing or enhancing a preset opens a faithful Preset Preview. You’ll be capable of refine its glance using a trend phase and preview background colors, at the side of your internet web page’s color variables. Saving an present preset updates its comparable uses.
The Preset Manager and Variable Manager moreover offer import and export controls for wearing definitions into each different internet web page. Those exports provide a reusable position to start out, quite than ongoing synchronization between web pages. See the Preset Supervisor documentation for the entire workflow.
A Blurb contains an image, title, and body text; a Title To Movement includes a button. Divi’s design approach can be triumphant within the ones individual parts through Composable Settings and Nested Selection Presets.
Expose Additional Controls With Composable Settings
Composable Settings can help you permit additional design groups for a module’s internal parts. For example, to turn further button controls in a Title To Movement:
- Open the module’s settings and go to the Design tab.
- Hover over the Button risk workforce and click on on Toggle Alternatives.
- Permit the groups you need, similar to Sizing or Spacing.
- Enlarge those nested groups to configure the button.
The ones controls purpose the button itself. You’ll be capable of moreover permit groups while enhancing a preset, making them available to parts using that preset. A default preset can therefore resolve every your same old styling and the controls you wish to have available. The Composable Settings documentation covers this in more component.
Connect Those Controls With Nested Selection Presets
Nested Choice Presets can help you follow presets inside nested groups, at the side of hanging one Selection Personnel Preset inside each different. The extra controls you permit can become part of your shared design approach.
For example, Title To Movement → Button → Border can use a shared Border preset.
It’s very important to nest a Pill Border preset inside a Solid Button Selection Personnel Preset, then use Solid Button inside a Dark CTA Phase Preset:
Pill Border → Solid Button Selection Personnel Preset → Dark CTA Phase Preset
Proper right here, Solid Button sorts the Button risk workforce right through the CTA. It’s minimize free an Phase Preset for a standalone Button module.
Changing Pill Border updates its comparable settings through those father or mother presets, apart from a setting is overridden. The CTA can keep its non-public container and text styling while its button shares details with other designs.
| Use Nested Presets When | Example Scenario |
|---|---|
| Building modular design strategies | Create a Blurb Phase Preset with nested Typography, Spacing, and Border presets that clients can transfer individually |
| Managing brand variations for customers | A father or mother company Phase Preset contains nested Color and Logo presets that transfer out for each subsidiary brand |
| Growing tiered supplier systems | Your Pricing Table Phase Preset nests different Badge and Button presets for Basic, Skilled, and Undertaking tiers |
| Coping with multilingual typography | Your base Segment preset nests different Font presets that transfer in keeping with language without touching structure or spacing |
| Testing design iterations | Nest a few Typography presets inside your Hero Segment preset to A/B test different heading sorts briefly |
| Building white label templates | Your corporate Phase Presets nest swappable Brand Color and Typography presets for quite a lot of shopper duties |
| Managing seasonal content material subject matter updates | Holiday sections nest different Icon and Decoration presets that transfer per 30 days while building stays consistent |
Combine Diversifications With Stacked Presets
Stacked Presets let a few presets contribute settings to the equivalent phase or risk workforce.
A Dark Mode Blurb preset might control background and text colors, while a Left Image Blurb preset controls image placement. Applying every combines those treatments without requiring each different whole preset for that variation.
When settings overlap, later presets inside the stack take precedence. Direct sorts on the phase can override preset values too. Keeping each preset targeted makes the ones combinations easier to be expecting.
| Use Stacked Presets When | Example Scenario |
|---|---|
| Combining base sorts with contextual variations | A serve as card at the side of your usual Phase Preset plus a Dark Background Selection Personnel Preset for sections with dark layouts |
| Together with alignment alternatives to present designs | Apply your CTA Phase Preset, then stack a Center Alignment Selection Personnel Preset for hero sections |
| Layering responsive adjustments | Stack a Mobile Spacing Selection Personnel Preset on best of your default section to keep an eye on padding on smaller shows |
| Mixing brief or seasonal styling | Add a Holiday Theme Selection Personnel Preset to present modules all over promotional categories |
| Applying accessibility enhancements | Stack a Top Difference Selection Personnel Preset over usual parts for improved readability |
| Growing structure variations briefly | Combine your base Blurb Phase Preset with different Image Position Selection Personnel Presets |
| Together with hover effects to a few parts | Stack a Hover Animation Selection Personnel Preset right through different module varieties |
How This Compares With CSS Classes
The common idea is reusing shared definitions. In CSS, a .button class might supply a button’s predominant styling, while a .pill class supplies rounded ends. In Divi, an Phase Preset and a targeted Border Selection Personnel Preset can divide those tasks in a similar way.
The ones are good parallels, quite than equivalent choices or an overview of Divi’s internal implementation:
| Design Procedure | CSS Manner | Divi 5 Manner |
|---|---|---|
| Reuse A Worth | Use a named custom designed assets for a repeated styling price. | Reference a Design Variable in an appropriate field. |
| Percentage A Targeted Treatment | Apply a utility class similar to .pill anyplace that treatment belongs. | Apply an Selection Personnel Preset to acceptable groups right through parts. |
| Define A Phase | Get ready phase regulations, similar to a CTA and its button selectors. | Use an Phase Preset with configured settings and references to Selection Personnel Presets. |
| Combine Diversifications | Apply quite a lot of classes, with conflicting declarations resolved by way of the cascade. | Stack appropriate presets, with later presets taking precedence for overlapping settings. |
| Style An Inner Phase | Purpose that phase with an appropriate selector, similar to .cta__button. | Permit the sought after groups with Composable Settings and follow presets inside those groups. |
| Handle Shared Definitions | Get ready and edit stylesheets using your most popular code and design-system apparatus. | Create, preview, prepare, and export definitions all through the Preset Manager and Variable Manager. |
CSS category laws and Divi presets every have the benefit of clear, reusable tasks. CSS customized houses offer a useful comparison for shared styling values, while Design Variables moreover make stronger content material subject matter similar to text and links.
There are two distinctions value keeping up clear:
- Stacking isn’t the equivalent as ordering HTML classes. Changing the order of class names in HTML does now not decide which style wins. CSS uses the cascade and specificity; Divi’s preset stack uses preset order to unravel overlapping preset settings.
- Nested Presets are comparable definitions. A preset can reference each different preset. This differs from CSS nesting or inheritance between father or mother and child parts.
Divi’s appeal is the hooked up visual workflow. You’ll be capable of prepare shared sorts, preview them, expose controls inside modules, and fasten those controls to presets from the builder. CSS provides its non-public flexibility; Divi makes this kind of design workforce available through visual enhancing.
Assemble A Tool You Can Keep The usage of
The power of Divi 5‘s method is how its choices art work together. A color variable can feed a button preset, a shared Border preset can shape that button, and a CTA preset can put across the hooked up design proper right into a internet web page.
Get began with alternatives that repeat right through your internet web page, then magnify as useful patterns emerge. Keep shared sorts hooked up, use local changes where they serve a specific design, and turn regimen exceptions into reusable variations. The end result’s one way that can evolve without requiring the equivalent edits all over.
The put up The Good looks Of Divi 5’s Distinctive Take On Elegance-Based totally Design appeared first on Chic Issues Weblog.





0 Comments