How to Build a Design System with Elementor Global Classes and Variables

Build a design system with Elementor global classes and variables: create tokens, set Default Styles, order classes and sync V3 global colors, step by step.

Elementor global classes let you style a button, card or heading once and reuse that style on every page, so one edit updates the whole site.

Pair them with Variables for colors, fonts and sizes, and a small design system takes about an hour to set up in Elementor 4.4.

Below is the order that works: plan the names, create Variables, set Default Styles, build classes, then keep old V3 widgets in sync.

⚡ Quick answer

  • Best for: new Elementor sites, or existing sites where you have switched on the Atomic Editor and keep restyling the same buttons and headings by hand.
  • Skip it if: the site is built entirely from V3 widgets and you have no plans to use Atomic Elements. Classes and Variables do not style old widgets.
  • Time needed: 45 to 90 minutes for 8 to 12 Variables, a few tag defaults and 6 to 10 global classes.
  • Our call: Variables first, classes second, local styles last. Start with fewer classes than you think you need.

What are Elementor global classes and variables?

In Elementor’s Atomic Editor, every style lives in a class. Per the Help Center article on classes, each element starts with a local class that belongs to that element only.

A global class is a named style bundle you can attach to any Atomic Element. Change the class once and every element using it updates.

A variable is a single named value: one color, one font family or one size. Classes can use variables, so a class says “primary button” and the variable says which blue that is.

LayerHoldsWhere you set itPriority
VariablesOne value (color, font, size)Design System → VariablesUsed inside the layers below
Default StylesA baseline style for an HTML tagDesign System → DefaultsLowest of the three style layers
Global classesA reusable set of stylesStyle tab → Classes fieldOverrides Default Styles
Local classStyles for one elementStyle tab with local selectedAlways wins
Style layers in the Elementor Atomic Editor, per the Elementor Help Center, checked November 2026.

In plain English: the old V3 world used Site Settings for global colors and fonts, plus global widgets to reuse a whole widget. Atomic Elements replace that with classes and variables, which map closely to real CSS.

If the Atomic Editor itself is new to you, start with our Elementor V4 explainer, which covers Atomic Elements and the editor switch in detail.

What you need before you start

  • Elementor 4.1 or later, ideally the current release. 4.1.0 (May 2026) added the Design System panel and raised the class limit to 1,000; 4.3.0 added Default Styles. The Elementor listing on WordPress.org showed 4.4.1 (16 November 2026) when this was checked.
  • The Atomic Editor turned on. New installs get it by default. On an existing site, go to WP Admin → Elementor → Editor → Settings → Atomic Editor.
  • Elementor Pro for size variables. Color and font variables work in the free plugin; the Help Center lists size variables as a Pro feature.
  • An Administrator account. Elementor limits class actions by role. Its example: an Editor can use the Style tab but cannot create a new class.
  • A staging copy or backup if the site already has live pages. Renaming or deleting a class changes every element that uses it.

Still running a V3 site? Read our guide to migrating an Elementor V3 site to V4 safely before turning anything on. The catch: Classes and Variables only style Atomic Elements, so a V3 page will not change.

Step 1: Plan your tokens and class names

Ten minutes on paper here saves a messy Class Manager later. Write down three lists before you open the editor.

Variables: name them by role, not by value

Call it color-primary, not blue. After a rebrand, “blue” becomes a lie and you end up renaming it everywhere.

Colors:  color-primary, color-primary-hover, color-accent,
         color-heading, color-text, color-muted, color-surface, color-border
Fonts:   font-heading, font-body
Sizes:   space-s, space-m, space-l, radius-m, text-h1, text-h2 (Pro)

Two font families is plenty for most sites. Our guide to font combinations for web design has heading and body pairs that work well as font-heading and font-body.

Classes: one per repeating pattern

List only patterns you will reuse at least three times: btn-primary, btn-secondary, card, section, eyebrow, lead. Anything used once stays local.

💡 Common mistake: making a class for every element on the page. Elementor’s own docs warn that conflicting classes waste time and can slow the site. Six good classes beat sixty overlapping ones.

Step 2: Create your Elementor variables

Open any page with Edit with Elementor. Then open the Design System panel:

  1. Click the Design System icon in the top bar. Elementor’s Variables Manager guide opens it from the three dots menu instead, so check both.
  2. Select the Variables tab.
  3. Click + (or Create a variable if the list is empty) and choose Color, Font or Size.
  4. Rename the new row to your planned name, set the value, and click Save changes.
Elementor Design System panel on the Variables tab, showing the plus button next to search and two color variables, brand-primary #1A73E8 and brand-secondary #FF6B35
Design System panel, Variables tab. Source: Elementor Help Center (elementor.com/help), captured November 2026.

You can also create a variable straight from a control. Click the variable icon beside Font family or a color field, then +, then fill in name and value.

Elementor Typography section with the Variables popup open on the Font family control, listing font-heading set to Playfair Display and font-body set to Inter
Picking a font variable from a style control. Source: Elementor Help Center, captured November 2026.

Per Elementor’s Variables documentation, saving in that popup saves the variable immediately, unlike page edits, which wait for Publish. Treat edits to a variable that live pages use as live edits.

Since 4.1.0, variables also work in Effects, Filters and Box Shadow controls, so a shadow color can come from color-border instead of a hex code.

⚠️ The catch: a font variable only names a font family. The font still has to load on the site, and a font installed on your own computer can hide that problem.

Step 3: Set Default Styles for HTML tags

Default Styles, added in Elementor 4.3.0, give every Atomic Element a baseline by HTML tag. Set your h1 to h3, p, a and button here and most pages look right before you add a single class.

  1. In the Design System panel, open the Defaults tab.
  2. In the Tag field, pick a tag such as h2.
  3. Click the three dots on the tag pill to choose a state: Normal, Hover, Focus or Active.
  4. Set Typography and Color using your variables, then click Save changes.
Elementor Design System panel on the Defaults tab with h2 selected in the Tag field and a dropdown listing h1, h3 to h6, p, span, a, button, div, header and section
Defaults tab with the Tag list open. Source: Elementor Help Center, captured November 2026.

According to the Default Styles documentation, classes and variables override tag defaults, and direct styling on an element overrides both.

Do this if you want blog-style pages to look consistent with almost no work. Skip it on div unless you understand the knock-on effect: a padding default on div also changes Flexbox containers.

Step 4: Create Elementor global classes

There are two ways to create a global class, and both are worth knowing.

Type a new class name

  1. Select an Atomic Element, such as a Button, and open the Style tab.
  2. In the Classes field next to local, type btn-primary.
  3. Choose Create a new class from the dropdown. The chip turns green, which means you are now editing the class.
  4. Set Background to color-primary, Typography to font-body, plus padding and radius.

Convert a local style you already like

Styled something locally and want to reuse it? Click the three dots next to local and choose Convert to global class, then rename it in the Class Manager.

Elementor Edit Heading panel, Style tab, with the local class menu open and Convert to global class highlighted above the Normal, Hover, Focus and Active states
Converting a local class to a global class. Source: Elementor Help Center, captured November 2026.

Pink means local, green means global. Always check the chip color before you change a value, because the edit goes to whichever chip is selected.

For button ideas worth turning into classes, our roundup of button widgets for Elementor shows the hover and icon patterns that addon widgets sell. With classes, you can build many of them natively on Atomic Buttons.

Step 5: Apply classes, states and local overrides

To reuse a class, select another element, click the Classes field and pick the class from the dropdown. Its styles apply instantly.

  • States: click the three dots on a class and choose Hover, Focus or Active. Set btn-primary hover to color-primary-hover once, and every primary button gets it.
  • Responsive values: switch the device icon while a class is selected to set a smaller mobile size inside the class itself.
  • One-off tweaks: select local and change the value there. The local class always wins and never touches other elements.
  • Custom CSS: the Style tab’s Custom CSS field is added to the selected class and state, so CSS written on a class travels with it.

For CSS beyond what the controls offer, our guide to adding custom CSS in WordPress covers where each method saves its code.

✅ Our take: stack two classes at most on one element, such as btn plus btn-primary. Beyond that, debugging which value wins takes longer than the styling saved.

Step 6: Set class priority in the Class Manager

When two classes set the same property, order decides. Per the Class Manager documentation, classes higher in the list take precedence.

  1. Open Design System → Classes, or click the Class Manager icon in the Style tab. Save the page first or it will not open.
  2. Drag the handle beside a class name to move it up or down.
  3. Use the target icon to see every page, post, header or footer that uses a class.
  4. Click Save changes.

In the Style tab, colored dots show the result. Green means this class sets the value, orange means another class overrides it, and pink marks a local value that nothing can override.

Do this if a style “won’t change”. Usually a higher class or a local value is winning, and clicking the dot shows the losing values struck through.

Step 7: Sync variables to V3 global colors

Most real sites mix Atomic Elements with V3 widgets and addons. V3 widgets ignore Variables, so without sync you maintain two palettes.

  1. Open the Variables tab in the Design System panel.
  2. Click the three dots next to a color variable and choose Sync to Global Colors. For fonts, choose Sync to Global Fonts.
  3. Click Save changes.
  4. In a V3 widget, click the globe icon on a color control. The synced variable now appears among the global colors.

The sync documentation sets a clear limit: font sync covers typography only, not color, size or weight. Keep editing the variable; the synced V3 global follows it.

Global colors Elementor users already set in Site Settings (Primary, Secondary, Text, Accent) keep working for V3 widgets. The catch: that is the V3 system; Atomic Elements take their values from Variables.

Third-party addon widgets are not Atomic Elements either, so Variables never reach them directly. Check an addon’s global color support before you buy; our list of the best Elementor addons is a good place to compare.

Step 8: Reuse the design system on other sites

Once the system works, export it so the next site starts at step 5, not step 1.

  1. In WP Admin, go to Elementor → Editor → Tools and open the Website Templates tab.
  2. Turn off everything except Settings & configurations, then click Edit.
  3. Leave only Classes and Variables on and click Save Changes.
  4. Choose Save to library or Export as zip.

Since 4.1.0 the Design System panel has its own import and export option too. Import onto a staging copy first: earlier 4.x releases fixed bugs where draft classes were deleted on kit import and synced variables went missing.

Building a header next? The same classes work there; our guide to building an Elementor header and footer walks through the Theme Builder side.

How to check it worked

  • Change one variable. Edit color-primary and confirm every primary button and link changes on the canvas.
  • Open a page you did not edit. Load it on the front end in a private window. Variables save immediately, so it should show the new value; if not, clear your page cache.
  • Check a V3 widget. If you synced colors, a V3 button using that global color should match.
  • Inspect one element. In browser dev tools, the class rules should appear in the Styles pane, with no stray local values overriding them.
  • Run a speed test. Elementor says proper use of classes can improve performance, so measure before and after. Our guide to speeding up an Elementor website covers what to measure.

If you also run block themes, the idea maps neatly onto WordPress’s own system. Our theme.json explainer shows the same token approach for the Site Editor.

What breaks and how to undo it

ProblemLikely causeFix
A style won’t changeA higher class or a local value winsClick the colored dot, reorder in the Class Manager, or clear the local value
V3 widgets ignore your new colorsVariable not syncedUse Sync to Global Colors in the Variables tab
Font looks right only on your computerFont not loading on the siteUse a font from Elementor’s list or upload it as a custom font
Class Manager won’t openPage not savedSave the page, then open it again
Missing styles on the live siteBugs fixed in 4.1.2 and 4.4.0Update Elementor and Pro, then regenerate Elementor’s CSS files from its Tools screen
Editor cannot create classesRole permissionsCreate classes as an Administrator
Based on Elementor Help Center pages and the WordPress.org changelog, checked November 2026.

To undo a class: remove it from the element through the three dots on its chip and choose Remove. Deleting it in the Class Manager changes every element that uses it, so check the target icon list first.

To undo a sync: choose Stop syncing in the Variables tab. Elementor warns that V3 widgets may then fall back to another global color, so recheck those pages.

Frequently Asked Questions

What is the difference between a local and a global class in Elementor?

A local class belongs to one element and shows as a pink chip; every Atomic Element has one. A global class shows green and can be applied to any element on the site. Change a global class once and every element using it updates, while a local change affects only that element.

Do Elementor global classes work with V3 widgets?

No. Classes and Variables only style Atomic Elements. For V3 widgets, sync your color variables to Global Colors and font variables to Global Fonts from the Variables tab. Font sync covers the font family only, so set size and weight on the V3 side yourself.

Are Elementor variables free?

Color and font variables are available in free Elementor 4.x. Elementor’s Help Center lists size variables, such as spacing and font size values, as a Pro feature. Classes, Default Styles and the Design System panel itself are part of the free plugin.

How many global classes can Elementor have?

Elementor 4.1.0 raised the limit to 1,000 global classes per site, and the developer documentation lists the same hard cap. Most sites need far fewer. Ten to thirty well-named classes usually cover buttons, cards, sections and text styles.

Which class wins when two classes conflict?

The class higher in the Class Manager wins, and the local class always beats every global class. In the Style tab, a green dot marks the value in use and an orange dot marks one being overridden. Drag classes in the Class Manager to change the order.

Where is the Design System panel in Elementor?

Open a page with Edit with Elementor and click the Design System icon in the top bar; some Elementor guides open it from the three dots menu instead. The panel has Defaults, Variables and Classes tabs and arrived in Elementor 4.1.0.

Can I copy my Elementor classes and variables to another site?

Yes. Go to Elementor, Editor, Tools, Website Templates, keep only Classes and Variables switched on under Settings and configurations, then save to the library or export as a zip. Import it on the new site, ideally on a staging copy first.

Do Elementor variables replace Site Settings global colors?

For Atomic Elements, yes. Elementor describes classes and variables as the Atomic system and global colors and fonts as the classic widget system. V3 widgets still use Site Settings, so sync your color variables there to keep one palette across both.

Should you build your design system with global classes?

  • Build it now if: you are starting a new Elementor site, or adding new pages with Atomic Elements. An hour of setup pays back on every page after that.
  • Build it gradually if: the site is mostly V3. Create color and font variables, sync them, and add classes only for new sections.
  • Stay with V3 globals if: you have no plans to use Atomic Elements. Site Settings global colors and fonts still do the job.
  • Skip size variables if: you only run free Elementor. Use classes for spacing instead and add size variables when you upgrade.

Our pick for most StyleMyWP readers: 10 variables, tag defaults for headings and paragraphs, and six global classes. Grow it only when a pattern repeats three times.

Not sure whether Elementor Pro is worth it for size variables and Components? Our Elementor review breaks down what Pro adds.

Last updated November 2026.

Lokesh Kapoor
Lokesh Kapoor

Lokesh Kapoor is a web developer, blogger, and digital creator passionate about WordPress, SaaS, automation, and modern web technologies. He shares practical tutorials, honest insights, and useful resources to help creators, entrepreneurs, and website owners build faster, smarter, and more effective online experiences with confidence, clarity, and consistency.

Articles: 33

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *