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.
Contents
- What are Elementor global classes and variables?
- What you need before you start
- Step 1: Plan your tokens and class names
- Step 2: Create your Elementor variables
- Step 3: Set Default Styles for HTML tags
- Step 4: Create Elementor global classes
- Step 5: Apply classes, states and local overrides
- Step 6: Set class priority in the Class Manager
- Step 7: Sync variables to V3 global colors
- Step 8: Reuse the design system on other sites
- How to check it worked
- What breaks and how to undo it
- Frequently Asked Questions
- Should you build your design system with global classes?
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.
| Layer | Holds | Where you set it | Priority |
|---|---|---|---|
| Variables | One value (color, font, size) | Design System → Variables | Used inside the layers below |
| Default Styles | A baseline style for an HTML tag | Design System → Defaults | Lowest of the three style layers |
| Global classes | A reusable set of styles | Style tab → Classes field | Overrides Default Styles |
| Local class | Styles for one element | Style tab with local selected | Always wins |
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:
- 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.
- Select the Variables tab.
- Click + (or Create a variable if the list is empty) and choose Color, Font or Size.
- Rename the new row to your planned name, set the value, and click Save changes.

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.

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.
- In the Design System panel, open the Defaults tab.
- In the Tag field, pick a tag such as
h2. - Click the three dots on the tag pill to choose a state: Normal, Hover, Focus or Active.
- Set Typography and Color using your variables, then click Save changes.

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
- Select an Atomic Element, such as a Button, and open the Style tab.
- In the Classes field next to
local, typebtn-primary. - Choose Create a new class from the dropdown. The chip turns green, which means you are now editing the class.
- Set Background to
color-primary, Typography tofont-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.

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-primaryhover tocolor-primary-hoveronce, 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
localand 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.
- Open Design System → Classes, or click the Class Manager icon in the Style tab. Save the page first or it will not open.
- Drag the handle beside a class name to move it up or down.
- Use the target icon to see every page, post, header or footer that uses a class.
- 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.
- Open the Variables tab in the Design System panel.
- Click the three dots next to a color variable and choose Sync to Global Colors. For fonts, choose Sync to Global Fonts.
- Click Save changes.
- 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.
- In WP Admin, go to Elementor → Editor → Tools and open the Website Templates tab.
- Turn off everything except Settings & configurations, then click Edit.
- Leave only Classes and Variables on and click Save Changes.
- 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-primaryand 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
| Problem | Likely cause | Fix |
|---|---|---|
| A style won’t change | A higher class or a local value wins | Click the colored dot, reorder in the Class Manager, or clear the local value |
| V3 widgets ignore your new colors | Variable not synced | Use Sync to Global Colors in the Variables tab |
| Font looks right only on your computer | Font not loading on the site | Use a font from Elementor’s list or upload it as a custom font |
| Class Manager won’t open | Page not saved | Save the page, then open it again |
| Missing styles on the live site | Bugs fixed in 4.1.2 and 4.4.0 | Update Elementor and Pro, then regenerate Elementor’s CSS files from its Tools screen |
| Editor cannot create classes | Role permissions | Create classes as an Administrator |
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.





[…] in this series: migrating a v3 site to V4 safely, building a full design system with Global Classes and Variables, and Components for reusable […]