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

Border

Roy Jemee
Updated on August 6, 2026

7 min read

The Border field gives a custom widget a full set of border controls in one drop: a Border Type dropdown, per-side Border Width inputs, and a Border Color picker. Inside the Master Addons Widget Builder, you add the field once, place its shortcode in your CSS, and anyone editing the widget in Elementor can restyle the border without touching code.

The Border control supports Conditions like every field, so it can stay hidden until a border toggle is switched on, and token output across the builder is rendered by the Twig-syntax template engine. Both guides cover the details.

The field maps straight to the CSS border shorthand. Whatever type, width, and color the user picks in the panel prints into your stylesheet wherever you put the token.

Custom Elementor widget with a red solid border applied through the Master Addons Widget Builder Border field controls

What the Border field does #

A Border field renders Elementor’s familiar border group control in your widget’s option panel. Select the widget and three related controls show up:

  • Border Type: a dropdown with Default, None, Solid, Double, Dotted, Dashed, and Groove.
  • Border Width: Top, Right, Bottom, and Left inputs with a link toggle to set all four at once, plus a device icon for responsive values.
  • Border Color: a color picker with access to your global colors.

The Width and Color controls stay hidden until the user picks a border type other than Default or None, which keeps the panel clean when no border is in use. This is the same pattern as the Text field and the other Widget Builder fields: drop the field, name it, use the token. If you are new to building widgets, start with the Widget Builder overview first.

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 heading widget with an <h2 class="border-title"> in its HTML.

How to add a Border field #

In the Widget Builder editor, scroll the fields panel on the left until you find the Border field. It sits near the bottom of the list, between Background and Text Shadow.

Border field in the Master Addons Widget Builder fields panel with a heading widget open in the HTML editor

Drag the Border field into a section under the Content, Style, or Advanced tab. Style is the natural home for it, though it works anywhere. Once it lands, the field’s options open on the left and its shortcode shows up in the Documentation sidebar next to the code editor.

Border field options in the Widget Builder with Label, Name, Description, and Default Value, and the border shortcode in the Documentation sidebar

Border field options explained #

Select the Border field to open its settings. They follow the same layout as every other Widget Builder field.

  • Label: the text shown above the control in Elementor, “Border” by default.
  • Name: the unique identifier for the field. It must contain only letters, numbers, and underscores. A field named border gives you the {{border}} shortcode.
  • Description: optional helper text shown below the control.
  • Default Value: the border the widget starts with, written as CSS shorthand, for example 1px solid #333. Leave it empty and the widget ships with no border until a user sets one.
  • Show Label and Label Block: the standard label toggles, plus the usual Separator and Conditions controls further down.

Connect the field to your CSS #

The Border field’s token belongs in your stylesheet, not your HTML. Open the CSS tab and use it as the value of the border property on whatever selector should carry the border. With our heading example:

Widget Builder CSS editor with border: {{border}} inside the .border-title selector and the Save Settings button highlighted
  • The rule reads border: {{border}}; inside the .border-title selector.
  • At render time, the token expands to the full shorthand the user picked, like 5px solid #e02b20.

Click Save Settings when the rule is in place. You can drop the same token on any selector in the widget, so one Border control can outline a card, its image, or both.

Use the Border control in Elementor #

Add your custom widget to a page in Elementor, or reload the editor if the page was already open. Select the widget and the Border control appears in its panel with the label you set.

Pick a border type #

The Border Type dropdown lists Default, None, Solid, Double, Dotted, Dashed, and Groove. Pick any type other than Default or None and two more controls appear below it: Border Width and Border Color. The preview updates as soon as you choose, so picking Dashed draws a dashed outline around the widget right away.

Border Type dropdown in Elementor showing Default, None, Solid, Double, Dotted, Dashed, and Groove options for the custom widget

Set the border width #

The Border Width control takes separate Top, Right, Bottom, and Left values. Keep the link icon on to change all four sides together, or unlink it for uneven borders, like a thick top and bottom with thin sides. The device icon next to the label lets you set different widths per breakpoint.

Border Width control in Elementor with linked values of 5 pixels drawing a solid border around the custom widget heading

Choose the border color #

The Border Color control opens Elementor’s color picker. Use the globe icon to pull from your global colors, or pick a custom value with the picker and hex, RGBA, or HSLA input.

Elementor color picker open on the Border Color control for the Widget Builder Border field

Every change lands live in the preview. In our example the heading ends up with a solid red border, 5 pixels on top and bottom and 3 pixels on the sides.

Finished custom Elementor widget heading with a solid red border set through the Border field controls

Common use cases #

  • Card and box outlines where each site needs its own border weight and color.
  • Highlighted headlines like the boxed heading in this example.
  • Image frames on team, portfolio, or product widgets.
  • Button styles where an outline variant needs a user-editable border.
  • Callout and notice boxes that switch between solid and dashed styles.

Tips for working with the Border field #

  • Put the token in CSS, not HTML. The shortcode expands to a CSS value, so it only makes sense as a property value like border: {{border}};.
  • Set a Default Value in shorthand form. Something like 1px solid #333 makes the widget look finished before anyone opens the panel.
  • Pair it with border-radius. The field covers type, width, and color. Add a Dimensions field or a fixed border-radius rule for rounded corners.
  • Remember None is a real choice. Users can switch the border off from the panel, so do not rely on the border to hold the layout together.
  • Reuse the token where it helps. The same {{border}} value can style several selectors, and they all follow the one control.

Frequently Asked Questions #

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

The Border field adds Elementor’s border group control to a custom widget: a Border Type dropdown, per-side Border Width inputs, and a Border Color picker. Its shortcode prints the resulting CSS border shorthand into your widget’s stylesheet.

Where do I place the border shortcode?

In the CSS tab of the Widget Builder, as the value of a border property. A field named border is used as border: {{border}}; on the selector that should carry the border. It does not belong in the HTML editor.

Which border types does the control support?

The Border Type dropdown offers Default, None, Solid, Double, Dotted, Dashed, and Groove. Choosing any type except Default or None reveals the Border Width and Border Color controls below the dropdown.

Can users set a different border width on each side?

Yes. The Border Width control has separate Top, Right, Bottom, and Left inputs. The link toggle changes all four together; unlink it to set uneven values, like 5 pixels on top and bottom with 3 pixels on the sides.

Why don’t I see Border Width and Color in the panel?

Those controls stay hidden while Border Type is Default or None. Pick Solid, Dashed, or any other visible type and both controls appear. If the whole Border control is missing, reload the Elementor editor so it picks up the saved widget.

Wrapping up #

The Widget Builder Border field packs a border type dropdown, responsive per-side widths, and a color picker into a single drag and drop. Name the field, set border: {{border}}; in your CSS, and border decisions move out of your stylesheet and into the Elementor panel where editors can handle them. Combine it with the Text field and a Divider to build a widget panel that covers content and style in one place. 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
Select2Heading
Table of Contents
  • What the Border field does
  • Before you start
  • in its HTML.How to add a Border field
  • Border field options explained
  • Connect the field to your CSS
  • Use the Border control in Elementor
    • Pick a border type
    • Set the border width
    • Choose the border color
  • Common use cases
  • Tips for working with the Border field
  • Frequently Asked Questions
    • What is the Border field in the Master Addons Widget Builder?
    • Where do I place the border shortcode?
    • Which border types does the control support?
    • Can users set a different border width on each side?
    • Why don't I see Border Width and Color in the 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