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
  • Number

Number

Roy Jemee
Updated on September 18, 2026

5 min read

The Number field adds a numeric input to a custom widget you build with the Master Addons Widget Builder. Column counts, font sizes, items per row, star ratings: anything that only makes sense as a number belongs here. You set the allowed range in the builder, and editors get an input that keeps them inside it.

Number is one of the fields you can use in the free version’s Widget Builder. The free plugin includes a limited Widget Builder, and the full set of fields comes with Master Addons Pro.

Number field settings in the Master Addons Widget Builder next to the Columns input in Elementor for a stat counter widget

What the Number field does #

  • Adds a numeric input with spinner arrows to your widget’s panel in Elementor.
  • Limits what editors can enter through Min, Max and Step.
  • Prints the number wherever you place its token, in the HTML, CSS or JS panel.
  • Works in comparisons, so {% if columns > 2 %} can switch part of the markup.

New to the builder? Read the Widget Builder overview first, then come back with a widget open.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor installed and active. The installation guide covers setup.
  • A widget open in the Widget Builder. The example in this guide is a “Stat Counter” widget with two Number fields: columns (1 to 4) on the Content tab and stat_size (20 to 96) on the Style tab.

How to add a Number field #

  1. Go to Master Addons > Widget Builder and open your widget.
  2. Add a section on the tab the setting belongs on. A layout count fits Content, a size fits Style.
  3. Type number in the field search box on the left.
  4. Drag Number into the section. Click the pencil on the field to open its settings.
Number field found by searching number in the Widget Builder with a Columns field in the Stats section

Number field options explained #

Number field options with Label, Name, Description, Placeholder, Min, Max, Step and Default Value
  • Label: the text next to the input in Elementor, for example “Columns”.
  • Name: the field’s unique ID and the name of its token. Use letters, numbers and underscores only, for example columns.
  • Description: a hint shown under the input in Elementor. Say what the number controls and, if it matters, the unit.
  • Placeholder: grey text shown while the input is empty.
  • Min and Max: the lowest and highest values the input accepts.
  • Step: how far the spinner arrows move each click. Use 1 for whole numbers, 2 for even numbers, 0.5 for half steps.
  • Default Value: the number a new copy of the widget starts with.

Min, Max and Step reach the input itself. In our tests the Columns field arrived in Elementor as a number input with min 1, max 4 and step 1, so the arrows stop at the ends of the range.

Common Settings works as on other fields, including Conditions if the number should only appear when another field is set.

Print the number in your template #

The token works in all three panels. In the Stat Counter widget, the HTML puts the value in a data attribute and uses it in a comparison:

<div class="stats-grid" data-columns="{{ columns }}">
  ...
</div>
{% if columns > 2 %}
<p class="stats-note">Tip: drop to two columns for a narrower layout.</p>
{% endif %}
Widget HTML printing the columns token in a data attribute and comparing it with an if block

The CSS panel is where a number field usually earns its keep. Put the unit outside the braces, because the field stores a bare number:

.stats-grid { grid-template-columns: repeat({{ columns }}, 1fr); }
.stat-value { font-size: {{ stat_size }}px; }
Widget CSS using the columns token in a grid repeat and the stat_size token with px outside the braces

The same token works in the JS panel, for example var perRow = {{ columns }};.

Give every Number field a Default Value #

An empty field prints nothing, and that silently breaks the rule around it. With the Columns field cleared, our CSS became repeat(, 1fr), which browsers drop, and the grid fell back to a single column. The {% if columns > 2 %} check stopped matching at the same time. Nothing in the panel warns you.

So set a Default Value on any Number field that feeds CSS or JavaScript, and treat an empty value as possible in your template if editors can clear it.

Leave Selector empty on a Number field #

The Selector box behaves oddly for this field, and in our tests it caused two problems at once:

  • It wrote the bare number into the rule with no property name, so no usable CSS came out of it.
  • While a Selector was filled in, the field’s Default Value stopped reaching the token. A widget nobody had touched rendered font-size:px on the front end. Clearing the Selector fixed it, and the same untouched widget rendered font-size:44px.

Print the token in the CSS panel instead, as shown above. That keeps the default working and lets you write the property and unit yourself.

Use the Number control in Elementor #

Add the widget to a page, or reload the editor if the page was already open. Each Number field shows as a small input under its label, on the tab where you placed it. Type a value or use the arrows, and the preview updates.

Elementor Content tab with the Columns input and Style tab with the Number Size input

Here is the same widget at four columns and at two columns with a larger number size:

Stat counter on the front end with four columns and with two columns at a larger number size

Common use cases #

  • Column or item counts in grids and carousels.
  • Font sizes, spacing values and widths in pixels.
  • Star ratings, review scores and percentages.
  • Counts and speeds a script reads, such as items per slide or an autoplay delay.

Tips for working with the Number field #

  • Always set a Default Value. It’s the difference between a working widget and a silently broken rule.
  • Set Min and Max to what the design can take. A grid built for four columns shouldn’t accept 12.
  • Put the unit in the Label or Description, such as “Number Size” with “in pixels”, since the field stores a plain number.
  • Keep the unit outside the token in CSS: {{ stat_size }}px, not inside the braces.
  • Want a slider with units instead? The Slider field is a Pro field that gives editors a drag handle.

Frequently Asked Questions #

Is the Number field available in the free version?

Yes. Number is one of the fields you can use in the free version’s Widget Builder. The full set of Widget Builder fields comes with Master Addons Pro.

Do Min, Max and Step actually limit what editors type?

They reach the input in Elementor, so the arrows stop at the range you set. Set a Default Value as well, so the field is never empty.

Why did my CSS rule stop working?

The field is probably empty. An empty Number field prints nothing, so a rule like repeat(, 1fr) becomes invalid and the browser drops it. Set a Default Value.

Can I use the Selector option to style with a Number field?

Not usefully. In our tests it wrote the bare number with no property, and while it was filled in the field’s default stopped reaching the template. Print the token in the CSS panel instead.

How do I add a unit like px or %?

Write it outside the braces, for example font-size: {{ stat_size }}px;. The field stores only the number.

Wrapping up #

Add a Number field, set Min, Max, Step and a Default Value, then print the token where you need it and add the unit yourself. Leave Selector empty so the default keeps working. For a drag handle with unit options, see the Slider field, 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 18, 2026
Textarea FieldText Field
Table of Contents
  • What the Number field does
  • Before you start
  • How to add a Number field
  • Number field options explained
  • Print the number in your template
    • Give every Number field a Default Value
    • Leave Selector empty on a Number field
  • Use the Number control in Elementor
  • Common use cases
  • Tips for working with the Number field
  • Frequently Asked Questions
    • Is the Number field available in the free version?
    • Do Min, Max and Step actually limit what editors type?
    • Why did my CSS rule stop working?
    • Can I use the Selector option to style with a Number field?
    • How do I add a unit like px or %?
  • Wrapping up

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