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 Carouse
      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.

      Ready Pages

      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
  • Off-Canvas Content
  • Logo Slider
  • Progress Bars
  • Image Carousel
  • Featured Product
  • Comparison Table
  • Source Code
  • Advanced Image
  • Gradient Headline
  • Gallery Slider
  • Toggle Content
  • Infobox
  • Timeline
  • Dynamic Table
  • Mailchimp
  • Blockquote
  • Changelogs
  • Countdown Timer
  • Current Time
  • Search
  • Filterable Image Gallery
  • Team Slider
  • Counter Up
  • Restrict Content
  • Table of Contents
  • Image Hotspot
  • Image Comparison
  • News Ticker
  • Image Hover Effects
  • Tabs
  • Pricing Table
  • Navigation Menu
  • Domain Search
  • Flipbox
  • Tooltip
  • Creative Links
  • Business Hours
  • Contact Form 7
  • Creative Button
  • Animated Headlines
  • Advanced Accordion
  • Call to Action
  • Progress Bar
  • Blog
  • Team Member
  • Dual Heading

Extensions

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

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

Slider

Roy Jemee
Updated on August 6, 2026

6 min read

The Slider field puts a drag-to-set range control in your custom widget’s panel, the same one Elementor uses for gaps, widths, and border radius across its own widgets. Inside the Master Addons Widget Builder, you set a minimum, a maximum, a step, and the units the user can pick from. Whoever edits the widget in Elementor then drags a handle instead of typing raw CSS values.

The Slider field supports Conditions like every control, and since its value is numeric, the Twig-syntax template engine lets you branch on it with comparisons like {% if columns >= 3 %}. Both guides cover setup and limitations.

The value a Slider produces is not a plain number. It is a pair: a size and a unit. That one detail decides how you connect the field to your stylesheet, so this doc spends most of its time there.

What the Slider field does #

  • Renders a range slider with a draggable handle and a numeric input next to it, matching Elementor’s native slider controls.
  • Offers a unit switcher when you allow more than one unit, so the same control can work in px, %, or em.
  • Stores a size and a unit together as one value your CSS panel reads with dot notation.
  • Supports responsive values, letting users set a different size per device from the device icon.
  • Accepts dynamic values and can write CSS through Elementor’s selectors mechanism as an alternative to the CSS panel.

New to building widgets? Read the Widget Builder overview first; this doc assumes you already have a widget open in the editor.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor installed and active. New to the plugin? See the installation guide.
  • A custom widget open in the Widget Builder editor. Our example is a team card grid whose .team-row container needs a user-adjustable gap between cards.

How to add a Slider field #

In the Widget Builder editor, scroll the fields panel on the left until you find the Slider field, listed with the other CSS-value fields such as Dimensions.

Drag it into a section under the Style tab, where sizing controls usually live, though Content and Advanced work too. Once it lands, the field’s options open on the left.

Slider field options explained #

  • Label: the text next to the control in Elementor, for example “Card Gap”.
  • Name: the unique identifier your CSS refers to, letters, numbers, and underscores only, for example my_gap.
  • Default: the starting value, stored as a size plus a unit.
  • Min, Max, Step: the range the handle covers and how far each drag increment moves. A gap control might run 0 to 100 in steps of 1.
  • Size Units: the units the user can switch between, such as px, %, and em. One unit hides the switcher; several show it.
  • Responsive: adds the device icon so each breakpoint keeps its own value.
  • Dynamic and Selectors: dynamic tag support, and Elementor’s selectors mechanism covered below.
  • Description, Show Label, Separator, and Conditions are the same display options every field carries.

Connect the Slider to your CSS #

A Slider’s value is an array with two keys: size and unit. Printing the field name on its own outputs nothing, because there is no single value to print. In the CSS panel, always write both parts with dot notation:

.team-row {
  gap: {{ my_gap.size }}{{ my_gap.unit }};
}

A value of 24 with px selected renders as gap: 24px;. Change the unit switcher to % and the same rule becomes gap: 24%; without touching the template.

Watch out: {{ my_gap }} on its own prints an empty string. If your rule renders as gap: ; and the layout ignores the control, the missing .size and .unit are almost always why. The same silence follows a rename: change the field’s Name later and the old tokens keep rendering, just with nothing in them, so update the CSS panel in the same sitting.

The selectors alternative #

Sliders also work with Elementor’s selectors mechanism, which writes the CSS for you instead of going through the CSS panel. For a slider, Elementor injects a bare value rather than a full declaration, so the builder’s plain Selector field alone does not produce a usable rule. A custom selectors entry has to carry the full property, using Elementor’s own placeholders:

'{{WRAPPER}} .team-row' => 'gap: {{SIZE}}{{UNIT}};'

For most widgets the CSS panel token is the simpler route; reach for selectors entries when you want Elementor managing the output.

Use the Slider control in Elementor #

Add your custom widget to a page in Elementor. If the page was already open, reload the editor first, since a stale tab keeps showing the old panel. The Slider appears in the widget’s panel with your label, the handle, the numeric input, and the unit switcher if you allowed more than one unit.

Drag the handle or type a number and the preview follows immediately. With Responsive on, the device icon switches the control between desktop, tablet, and mobile values, so a 40px desktop gap can shrink to 16px on phones from the same field.

Common use cases #

  • Grid and flex gaps between cards, columns, or gallery items.
  • Element widths and heights, such as an image size or divider length, with a % option for fluid layouts.
  • Border radius on cards and buttons when one uniform radius is enough.
  • Icon and font sizing where an em unit keeps things relative to surrounding text.
  • Spacing offsets like the distance between a badge and the corner it sits in.

Tips for working with the Slider field #

  • Always print both parts. {{ my_gap.size }}{{ my_gap.unit }} is the whole connection; the bare field name gives you an empty string.
  • Match Min, Max, and Step to the property. A 0–100 range in steps of 1 suits a gap; a radius control may only need 0–50.
  • Offer only the units that make sense. A px-only control is clearer than one where % produces broken layouts.
  • Keep a fallback in the CSS panel structure. Write the rule so the widget still lays out sanely at the default value on first drop.
  • Turn on Responsive for layout values. Gaps and widths almost always need a tighter mobile setting.
  • Prefer the CSS panel token over the Selector field. The plain Selector field injects only a bare value for sliders, which is not a complete declaration.

Frequently Asked Questions #

What is the Slider field in the Master Addons Widget Builder?

It adds Elementor’s range slider control to a custom widget. You define the min, max, step, and allowed units, and the user drags a handle to set a value. The field stores a size and a unit together, which your widget CSS prints with {{ name.size }}{{ name.unit }}.

Why does {{ my_slider }} print nothing?

The value is an array holding size and unit, not a single string, so a direct print comes out empty. Use dot notation for both keys: {{ my_slider.size }}{{ my_slider.unit }}.

How do I use the Slider value in the CSS tab?

Write the property yourself and drop both tokens where the value goes, for example gap: {{ my_gap.size }}{{ my_gap.unit }};. The rule updates whenever the user moves the handle or switches units.

Can users switch between px, %, and em?

Yes, when you list several units in the Size Units option. The control shows a unit switcher, and the unit key in the value reflects whatever the user picked, so the same CSS token covers every unit.

Does the Slider support responsive values?

Yes. Enable the Responsive option and the control gains the device icon in Elementor, letting the user store separate values for desktop, tablet, and mobile breakpoints.

Can I use Elementor selectors instead of the CSS panel?

You can, but a slider needs a selectors entry that spells out the full property with {{SIZE}}{{UNIT}} placeholders, such as '{{WRAPPER}} .row' => 'gap: {{SIZE}}{{UNIT}};'. The plain Selector field only injects a bare value for sliders, which is not enough on its own.

Wrapping up #

The Widget Builder Slider field turns any single CSS length in your widget into a control the editor can drag: name the field, bound the range, and print {{ name.size }}{{ name.unit }} in the CSS panel. It pairs naturally with the Dimensions field when a widget needs four-sided spacing alongside single values. Explore the rest of the Master Addons widgets and extensions, and see the pricing page 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 August 6, 2026
Box ShadowIcons
Table of Contents
  • What the Slider field does
  • Before you start
  • How to add a Slider field
  • Slider field options explained
  • Connect the Slider to your CSS
    • The selectors alternative
  • Use the Slider control in Elementor
  • Common use cases
  • Tips for working with the Slider field
  • Frequently Asked Questions
    • What is the Slider field in the Master Addons Widget Builder?
    • Why does {{ my_slider }} print nothing?
    • How do I use the Slider value in the CSS tab?
    • Can users switch between px, %, and em?
    • Does the Slider support responsive values?
    • Can I use Elementor selectors instead of the CSS panel?
  • 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

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