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
      Icons Extended
      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

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

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

      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

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

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
  • 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
      Icons Extended
      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

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

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

      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

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

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Purchase Now

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

  • Progress Bars
  • Image Carousel
  • Featured Product Element
  • Elementor Comparison table For Products & Services
  • Source Code Element
  • Advanced Image Element
  • How to Add Gradient Text in Elementor
  • Gallery Slider
  • Toggle Content
  • Infobox Element
  • Timeline Element
  • Dynamic Table Element
  • Instagram Feed
  • Mailchimp Element
  • BlockQuote Element
  • Changelog Element
  • Countdown timer
  • Current Time
  • Search Element
  • Filterable Image Gallery
  • Team Members Carousel
  • Counter Up For Elementor
  • Restrict Content For Elementor
  • MA Table of Contents
  • Image Hotspot
  • Image Comparison Element
  • News Ticker Element
  • Image Hover Effects Element
  • Advanced Tabs Element
  • Pricing Table Elementor Free Widget or Element Customization
  • Navigation Menu + Mega Menu
  • Navigation Menu Element
  • How Domain Search Works
  • How to configure FlipBox Element
  • Adding Tooltip in Elementor Editor
  • How to add Creative Links?
  • How to Add Business Hours Elementor Page Builder?
  • How To Edit Contact Form 7
  • How to add Creative Buttons
  • Animated Headline Elementor Page Builder
  • Elementor Accordion Widget
  • Elementor Call To Action Widget Tutorial
  • How To Create and Customize Progressbar In Elementor
  • Blog Element Customization
  • Adding Team Members in Elementor Page Builder
  • How to Use the Dual Heading Widget in Elementor

Extensions

  • Which Element
  • Post & Page Duplicator
  • Grid Line
  • Elementor Glassmorphism Effects Extension
  • Tooltip Extension for Elementor by Master Addons
  • Wrapper Link
  • Floating Effects
  • Dynamic Tags
  • Elementor Display Conditions For Browser, User, Time, Many More
  • Entrance Animation
  • Header, Footer, & Comment Builder
  • Custom Elementor Breakpoints Setup & Configuration
  • Animated Gradient Background: Give Elementor Sections a Moving Gradient
  • Reveal Extension
  • Particles Extension: Add an Animated Particle Background to Any Elementor Section
  • Background Slider Extension: Turn Any Elementor Section Background into a Slideshow
  • Transforms Extension: Rotate, Scale, Skew, and Flip Any Elementor Element
  • Rellax Extension
  • Positioning Extension: Place Any Elementor Element Exactly Where You Want
  • Custom CSS Extension: Write Custom CSS in Elementor Without Pro

Widget Builder

  • Widget Builder Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • Widget Builder URL Field
  • Date Time
  • Typography
  • Font
  • Widget Builder Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Widget Builder Textarea Field
  • Number
  • Widget Builder 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
  • Border

Border

Roy
Updated on June 30, 2026

8 min read

The Border control adds a complete border group to your custom widget. When someone edits the widget, they get the Border Type dropdown, the Border Width inputs, and the Border Color picker, the same border group you already use everywhere in Elementor. The difference from the Heading control is that this one produces a real value and prints CSS on the front end.

You add it once in the Widget Builder, point it at a CSS selector, and the control does the rest. The editor sets a border, and Master Addons writes the matching CSS to whatever element your selector targets. No PHP, no hand-written style rules.

Screenshot: the Border control settings panel showing Label, Name, Description, Default Value, Responsive Control, Dynamic Support, Frontend Available, Separator, Conditions, Control Classes, and Selector. Upload border-control-settings.png here.

What the Border control adds to your widget #

Once the control is in place, whoever edits your custom widget sees a standard Elementor border group under it:

  • Border Type — a dropdown with Default, None, Solid, Double, Dotted, Dashed, and Groove.
  • Border Width — Top, Right, Bottom, and Left inputs, with a responsive device icon so the width can change per breakpoint.
  • Border Color — a color picker for the border, including global and custom colors.

Screenshot: the Border Type dropdown, Border Width inputs, and Border Color picker the control adds inside a custom widget. Upload border-control-output.png here.

Why would someone use it in a custom widget? #

Most custom widgets need at least one bordered element: a card, a button, an image frame, a callout box. You could hardcode that border in your CSS, but then nobody can change it. Hand it to the editor instead. They pick the type, width, and color from the panel, and the widget stays flexible from one project to the next.

  • Give editors real styling control without letting them near the code.
  • Match Elementor’s native border UI, so the widget feels familiar from the first click.
  • Reuse one widget across many sites when you ship white-labeled builds, since each project can set its own border style.

Where This Option Appears #

  • Inside the Widget Builder, on the Content tab, when you add a new control to your custom widget.
  • The border group it generates shows up in the widget’s settings (usually under the Style tab) for whoever edits the widget.
  • The border itself renders on the front end, applied to the element named in the control’s Selector.

Available Settings #

Here is every field in the Border control panel, in the order it appears.

Label #

The text that appears above the control in the panel, something like “Card Border.” The helper note reads: The label that appears above of the field.

Name #

The unique identifier for the control. It can only contain letters, numbers, and underscores (_). Keep it distinct from your other controls, like card_border.

Description #

Optional helper text that shows below the field in the panel. Use it to spell out what the border applies to, for example “Sets the border around the card wrapper.” Future you will appreciate the note.

Default Value #

The border the control starts with before the editor changes anything. Leave it blank for no default, or set one so a fresh widget already has a sensible border.

Common Settings #

  • Show Label — toggles whether the label text is displayed.
  • Label Block — when on, the label sits on its own full-width line. Usually on for a border group.
  • Responsive Control — turn this on to let the border width change per device (desktop, tablet, mobile). It is what puts the breakpoint icon on the width input.
  • Dynamic Support — enable dynamic content support so the value can come from a dynamic source.
  • Frontend Available — makes the control value available to front-end JavaScript. Leave it off unless your widget’s JS actually needs to read the border value.
  • Separator — sets the position of the separator line: None, Before, After, or Default.
  • Conditions — show the border control only when another control has a certain value.
  • Control Classes — add custom CSS classes to the control wrapper in the panel.

Selector #

This is the field that does the real work. The Selector tells Master Addons which element gets the border. The default is {{WRAPPER}} .control-class, where {{WRAPPER}} is the widget’s outer wrapper. Swap .control-class for the class of the element you want bordered, like {{WRAPPER}} .promo-card. The type, width, and color the editor picks get written as CSS to that selector.

How the Border Renders #

The Border control does not generate a shortcode you drop into the HTML panel. It is a style control, so it works through the Selector instead. Whatever border the editor sets gets compiled into CSS and attached to the selector you defined. Point the selector at the right element and the border shows up there, nothing else to wire.

How to Use It: A Practical Example #

Say your custom “Promo Card” widget has a wrapper with the class promo-card, and you want the editor to control its border:

  1. Open your widget in the Widget Builder and go to the Content tab.
  2. Add a Border control. Set its Label to Card Border and its Name to card_border.
  3. In the Selector field, enter {{WRAPPER}} .promo-card so the border lands on the card wrapper.
  4. Turn on Responsive Control if you want the border width to change on tablet and mobile.
  5. Set a Default Value if you want the card to start with, say, a 1px solid light gray border.

Now anyone editing the widget can pick the border type, set the width on each side, and choose a color, and it lands on the card right away.

Common Use Cases #

  • Card and box widgets that need an editable frame.
  • Custom button widgets where the border is part of the style.
  • Image or media wrappers that need a configurable outline.
  • Callout and notice boxes with a colored side border (set the width on one side only).
  • Pricing or feature widgets where each column can carry its own border.
  • Any element you want bordered differently per breakpoint using the responsive option.

Helpful Tips #

  • Get the Selector right first. Nine times out of ten, a border that does not show up is just a selector that does not match a real element in your widget’s markup. Open the front end, inspect the element, and confirm the class is actually there.
  • Start the selector with {{WRAPPER}} so the styles stay scoped to this widget and do not bleed onto the rest of the page.
  • Turn on Responsive Control only when you really need per-device widths, otherwise it just clutters the panel.
  • Pair the Border control with a Box Shadow or Dimensions control to give editors full say over a card’s look.
  • Group related style controls under a Heading control so the panel stays readable.

The Border control is one of the style building blocks in the Widget Builder. Drop it in, point the selector at the right element, and your custom widget gets the same border controls editors expect from native Elementor, without you writing a line of CSS.

Frequently Asked Questions #

What does the Border control add to a custom widget?

It adds a complete Elementor border group, including the Border Type dropdown, the Border Width inputs for top, right, bottom, and left, and the Border Color picker. The Border Type dropdown offers Default, None, Solid, Double, Dotted, Dashed, and Groove. The group appears in the widget’s settings, usually under the Style tab, for whoever edits the widget.

How do I make the border apply to a specific element?

Use the Selector field, which defaults to {{WRAPPER}} .control-class where {{WRAPPER}} is the widget’s outer wrapper. Replace .control-class with the class of the element you want bordered, for example {{WRAPPER}} .promo-card. The type, width, and color the editor picks then get written as CSS to that selector.

Does the Border control generate a shortcode?

No, it is a style control, so it does not produce a shortcode you drop into the HTML panel. Instead it compiles the editor’s settings into CSS attached to the selector you defined. Point the selector at the right element and the border renders there with nothing else to wire.

Can the border width change between desktop, tablet, and mobile?

Yes, turn on the Responsive Control option under Common Settings. That puts the breakpoint device icon on the width input so the border width can change per device. Only enable it when you actually need per-device widths, since it otherwise adds clutter to the panel.

Why is my border not appearing on the front end?

Nine times out of ten the Selector does not match a real element in the widget’s markup. Open the front end, inspect the element, and confirm the class you targeted actually exists. Also keep the selector starting with {{WRAPPER}} so the styles stay scoped to your widget and do not bleed onto the rest of the page.

What are your Feelings

Share This Article :

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

How can we help?

Updated on June 30, 2026
Select2Heading
Table of Contents
  • What the Border control adds to your widget
  • Why would someone use it in a custom widget?
  • Where This Option Appears
  • Available Settings
    • Label
    • Name
    • Description
    • Default Value
    • Common Settings
    • Selector
  • How the Border Renders
  • How to Use It: A Practical Example
  • Common Use Cases
  • Helpful Tips
  • Frequently Asked Questions
    • What does the Border control add to a custom widget?
    • How do I make the border apply to a specific element?
    • Does the Border control generate a shortcode?
    • Can the border width change between desktop, tablet, and mobile?
    • Why is my border not appearing on the front end?

Join 40,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

110+ 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
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Support Forum
  • Contact US
  • Join Community
  • Blog
Resources
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
Navigate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Privacy Policy