Master Addons
  • Widgets
    • Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carousel
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features
    • Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits
    • Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Elementor Page Templates

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands
    • WP Adminify

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.
      Admin Bar Editor

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.
      Loginfy

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.
      Master Blocks

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.
      WP Spotlight

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Pricing
🇺🇸EN
  • 🇺🇸EN
  • 🇸🇦AR
  • 🇧🇩BN
  • 🇩🇰DA
  • 🇩🇪DE
  • 🇪🇸ES
  • 🇫🇷FR
  • 🇮🇳HI
  • 🇰🇷KO
  • 🇵🇹PT
  • 🇷🇺RU
  • 🇨🇳ZH

Getting Started

  • Can’t see the Master Addon Element inside Elementor Page editor?
  • How To Apply For an Affiliate Account?
  • Active Pro version
  • Installing Plugin

Addons

  • Popup Trigger Widget Settings
  • Off-Canvas Content Widget Settings
  • Logo Slider Widget Settings
  • Progress Bars Widget Settings
  • Image Carousel Settings
  • Featured Product Widget Settings
  • Comparison Table Widget Settings
  • Source Code Widget Settings
  • Advanced Image Widget Settings
  • Gradient Headline Widget Settings
  • Gallery Slider Settings
  • Toggle Content Widget Settings
  • Info Box Widget Settings
  • Timeline Widget Settings
  • Dynamic Table Widget Settings
  • Mailchimp Widget Settings
  • Blockquote Widget Settings
  • Changelog Widget Settings
  • Countdown Timer Widget Settings
  • Current Time Widget Settings
  • Search Widget Settings
  • Filterable Image Gallery
  • Team Slider Widget Settings
  • Counter Up Widget Settings
  • Restrict Content Settings
  • Table of Contents Widget Settings
  • Image Hotspot Widget Settings
  • Image Comparison Widget Settings
  • News Ticker Widget Settings
  • Image Hover Effects
  • Tabs Settings
  • Pricing Table Widget Settings
  • Nav Menu Widget Settings
  • Domain Search Widget Settings
  • Flipbox Widget Settings
  • Tooltip Settings
  • Creative Links Widget Settings
  • Business Hours Widget Settings
  • Contact Form 7 Widget Settings
  • Creative Button Widget Settings
  • Animated Headlines Settings
  • Advanced Accordion Widget Settings
  • Call to Action Widget Settings
  • Progress Bar Widget Settings
  • Blog Posts Widget Settings
  • Team Member Widget Settings
  • Dual Heading Settings

Extensions

  • Icon Library Settings
  • Mega Menu Settings
  • Which Element Extension Settings
  • Post/Page Duplicator Extension Settings
  • Grid Line Extension Settings
  • Glassmorphism Extension Settings
  • Tooltip Extension Settings
  • Wrapper Link Settings
  • Floating Effects Extension Settings
  • Dynamic Tags Settings
  • Display Conditions Extension Settings
  • Entrance Animation Settings
  • Custom Breakpoints Settings
  • Animated Gradient BG Extension Settings
  • Reveal Extension Settings
  • Particles Extension Settings
  • Background Slider Extension Settings
  • Transforms Extension Settings
  • Rellax Extension Settings
  • Positioning Extension Settings
  • Custom CSS Settings

Widget Builder

  • Conditions
  • Twig Syntax
  • Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • URL Field
  • Date Time
  • Typography
  • Font
  • Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Textarea Field
  • Number
  • Text Field

Theme Builder

  • Comment Form
  • 404
  • Search
  • Archive
  • Single
  • Footer
  • Header

Popup Builder

  • How to Open a Popup After Inactivity in Elementor
  • How to Show an Exit Intent Popup in Elementor
  • How to Open a Popup on Scroll to a Specific Element in Elementor
  • How to Open a Popup on Scroll in Elementor
  • How to Open a Popup on Click in Elementor
  • How to open a popup on page load?
  • Popup Settings & Options

Template Kit

  • How to Import Template Kits in Master Addons
  • How to Disable Elementor Default Fonts and Colors
  • Import Elementor Template Kits
View Categories
  • Home
  • Docs
  • Widget Builder
  • Dimensions

Dimensions

Roy Jemee
Updated on September 17, 2026

7 min read

The Dimensions field adds Elementor’s four-box spacing control (top, right, bottom and left, with a link icon and a unit menu) to a custom widget built with the Master Addons Widget Builder. Use it whenever padding, margin, border width or corner radius should be set from the Elementor panel instead of fixed in your CSS.

Dimensions is a Pro field. The free plugin includes a limited Widget Builder, and the full set of fields comes with Master Addons Pro.

Pricing card built with the Widget Builder Dimensions field shown with small and large padding, radius and button padding

What the Dimensions field does #

  • It shows four number boxes in the Elementor panel. With the link icon on, typing in one box fills all four.
  • A unit menu lets editors switch between the units you allow, such as px, em and %.
  • You can hide sides you don’t need. A button padding field might only show Right and Left.
  • Elementor writes the CSS for you through the field’s CSS Selectors rows, including separate values per device when Responsive Control is on.

If you haven’t built a widget yet, read the Widget Builder overview first.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor and Master Addons Pro, both active. The installation guide covers setup.
  • A widget open in the Widget Builder. The example in this guide is a “Pricing Card” widget with a price-card box and a price-btn button, and three Dimensions fields: Card Padding, Card Radius and Button Padding.

How to add a Dimensions field #

  1. Go to Master Addons > Widget Builder and open your widget.
  2. Click the Style tab and add a section, for example “Card Spacing”.
  3. Type dimensions in the field search box on the left.
  4. Drag Dimensions into the section. Its settings open in the left sidebar.
Dimensions field found by searching dimensions in the Master Addons Widget Builder with Card Padding, Card Radius and Button Padding fields in a Style section

Dimensions field options explained #

Here is the Card Padding field:

Dimensions field options with Label, Name, Allowed Dimensions, Property Type set to Padding, Size Units and Default Value
  • Label is the text above the boxes in Elementor, for example “Card Padding”.
  • Name is the field’s unique ID. Letters, numbers and underscores only.
  • Description appears under the control in Elementor.
  • Allowed Dimensions has four arrow buttons for top, right, bottom and left. Click an arrow to turn that side off. In Elementor, a side that’s off shows as a grey box that can’t be edited.
  • Property Type offers Custom, Margin, Padding, Border Width and Border Radius. Pick one and the builder fills in a CSS Selectors row for that property (more on this below). Border Width also adds border-style: solid.
  • Size Units lists the units editors can choose. A new field allows px, %, em, rem, vh and vw. Remove the ones that don’t make sense for your design.
  • Default Value has four boxes for the starting top, right, bottom and left values.

The Button Padding field only needs left and right, so the top and bottom arrows are turned off:

Allowed Dimensions buttons with only right and left turned on for a Button Padding field

Further down, Responsive Control adds the device icon so desktop, tablet and mobile can have different values. Show Label, Separator and Conditions work as they do on other fields.

Connect the field with CSS Selectors #

Each CSS Selectors row has a CSS Selector (which element to style) and CSS Properties (the rule to write). When you pick Padding as the Property Type, the row starts out like this:

CSS Selector:   {{WRAPPER}}
CSS Properties: padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};

{{WRAPPER}} on its own means the whole widget. Change it to the element you want, such as .price-card. You can leave {{WRAPPER}} out, because the builder adds it in front of your selector so the rule stays inside this widget.

CSS Selectors row with the selector .price-card and a padding property using TOP, RIGHT, BOTTOM, LEFT and UNIT

In CSS Properties, {{TOP}}, {{RIGHT}}, {{BOTTOM}} and {{LEFT}} are replaced with the numbers from the four boxes, and {{UNIT}} with the chosen unit. With the Property Type set to Custom, you write the rule yourself. The Button Padding field uses only two sides:

CSS Selector:   .price-btn
CSS Properties: padding-right: {{RIGHT}}{{UNIT}}; padding-left: {{LEFT}}{{UNIT}};

Click Add Item to apply the same value to another element with a second row.

Two things to know. The single Selector box near the bottom of the common settings does nothing for a Dimensions field, so always use the CSS Selectors rows. And picking a Property Type fills in the CSS Properties box for you, so choose it first and check the rows again if you switch it later.

Use the values in your template instead #

You can also print the values directly in the HTML or CSS tab. The field holds top, right, bottom, left and unit, so write each side followed by the unit:

.price-card {
  padding: {{ card_padding.top }}{{ card_padding.unit }} {{ card_padding.right }}{{ card_padding.unit }} {{ card_padding.bottom }}{{ card_padding.unit }} {{ card_padding.left }}{{ card_padding.unit }};
}

A bare {{ card_padding }} prints nothing. For most widgets the CSS Selectors rows are the better choice, since Elementor writes a separate rule for each device when Responsive Control is on.

Click Save Settings when you’re done.

Use the Dimensions control in Elementor #

Add the widget to a page, or reload the editor if the page was already open. Select the widget and open the Style tab. Each Dimensions field shows four boxes labelled Top, Right, Bottom and Left, the link icon, and a unit menu in the top right corner. Button Padding shows Top and Bottom greyed out.

Card Padding, Card Radius and Button Padding controls in the Elementor Style tab next to the pricing card

Type a number and the card updates straight away. Click the link icon to unlink the sides and give each one its own value, as Card Padding does here with 64 on top and bottom and 56 on the sides. Use the unit menu to switch between the units you allowed.

Pricing card in Elementor after raising Card Padding to 64 and 56, Card Radius to 40 and Button Padding to 56

Common use cases #

  • Inner padding for cards, boxes and banners.
  • Margins between parts of a widget, such as the space under a heading.
  • Corner radius on cards, images and buttons, using the Border Radius property type.
  • Left and right button padding, with the top and bottom sides turned off.
  • Border widths per side, using the Border Width property type.

Tips for working with the Dimensions field #

  • Always change the CSS Selector from {{WRAPPER}} to your element. Left as it is, the spacing applies to the whole widget wrapper.
  • Trim Size Units to the ones you want editors to use. px and em cover most spacing.
  • Turn off sides that don’t apply. It stops editors from setting values that have no effect.
  • Set a Default Value that matches your design, so the widget looks right as soon as it’s added.
  • Be careful with % for padding and margin. Browsers calculate percentage padding from the element’s width, even for top and bottom.
  • For a single value such as a gap or icon size, the Slider field is simpler.

Frequently Asked Questions #

Is the Dimensions field free?

No. Dimensions is one of the Pro fields in the Widget Builder, so Master Addons Pro has to be active before you can add it to a widget.

Why doesn’t my Dimensions field change anything?

Check the CSS Selectors rows. The CSS Selector must match an element in your widget’s HTML, and CSS Properties must contain the rule. The single Selector box in the common settings is not used by this field.

Do I need to add {{WRAPPER}} to the CSS Selector?

No. The builder adds {{WRAPPER}} in front of the selector for you, so .price-card is enough.

How do I show only left and right boxes?

In Allowed Dimensions, click the up and down arrows to turn off top and bottom. Elementor then shows those two boxes greyed out.

Can I print the values in my HTML or CSS?

Yes. Use {{ field_name.top }}{{ field_name.unit }} and the same pattern for right, bottom and left. {{ field_name }} on its own prints nothing.

Wrapping up #

Pick a Property Type, point the CSS Selectors row at your element, trim the units and sides, and set a sensible default. Editors then get the same spacing control they know from Elementor’s own widgets. For the rest of the box styling, see the Border and Background fields, and check pricing for what each plan includes.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on September 17, 2026
BackgroundBox Shadow
Table of Contents
  • What the Dimensions field does
  • Before you start
  • How to add a Dimensions field
  • Dimensions field options explained
  • Connect the field with CSS Selectors
    • Use the values in your template instead
  • Use the Dimensions control in Elementor
  • Common use cases
  • Tips for working with the Dimensions field
  • Frequently Asked Questions
    • Is the Dimensions field free?
    • Why doesn't my Dimensions field change anything?
    • Do I need to add {{WRAPPER}} to the CSS Selector?
    • How do I show only left and right boxes?
    • Can I print the values in my HTML or CSS?
  • Wrapping up

40% Off

Personal

$6.58

$23 /Year

$1.92 per month

Purchase Now
  • 1 Website
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features
Popular

40% Off

Business

$6.58

$59 /Year

$4.92 per month

Purchase Now
  • 5 Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

40% Off

Developer

$45.75

$179 /Year

$14.92 per month

Purchase now
  • Unlimited Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

Developer

$20.75

$159 /Year

$13.25 per month

Purchase now
  • 200 Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

Developer

$33.25

$129/Year

$10.75 per month

Purchase now
  • 100 Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

40% Off

Personal

$129

$77/One Time

Save $52

Purchase now
  • 1 Website
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

20% Off

Business

$199

$119 /One Time

Save $80

Purchase now
  • 5 Website
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features
Best Picks

40% Off

Developer

$599

$359 /One Time

Save $240

Purchase Now
  • Unlimited Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

Developer

$499

$299 /One Time

Save $199

Purchase Now
  • 200 Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features

Developer

$399

$239 /One Time

Save $159

Purchase Now
  • 100 Websites
  • Multisite Support
  • "Master Addons" Branding Removal
  • 1 Year Support and Updates
  • 80+ Elements & Extension
  • Theme builder
  • Popup Builder
  • Widget Builder
See All Features
  • 14-day money backFull refund, no questions asked
  • SSL secure payment256-bit encrypted checkout
  • Instant activationLicense key delivered right away
  • Easy upgradesMove to a bigger plan any time

What Pro unlocks

Every plan includes the full toolkit. The only difference is how many sites you can activate it on.

Theme Builder

Design headers, footers, single posts and archive layouts visually. No PHP templates, no child theme edits.

Popup Builder

Exit-intent offers, announcement bars and lead capture with display conditions built in.

Widget Builder

Turn your own HTML, CSS and JS into reusable Elementor widgets with editor controls.

80+ elements & extensions

Mega Menu, Dynamic Tables, Image Hotspots, Comparison Tables, Off-Canvas and more.

Display conditions

Show or hide anything by login state, date, browser or device. Works per widget or per section.

Dynamic tags for ACF & Pods

Pull ACF and Pods field data straight into Elementor widgets. Your custom fields finally show up where you need them.

Join 30,000+ Web Creators Who Trust Master Addons

Get all the premium widgets and templates you desire, built with clean code that keeps your site fast. Ditch the bloat, not the features.

Try Live Demo
Join The Community
Master Addons for Elementor
Master Addons Logo

80+ Premium Widgets & Lifetime Updates – Build Beyond Limits. An Exclusive Creation by Pixar Labs

Facebook-f Twitter Youtube Wordpress
Features
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Video Reviews
Resources
  • My Account
  • Changlogs
  • Documentation
  • Video Tutorials
  • Toolz.dev
Navigate
  • Apply for Affiliate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • About Us