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
  • Popover Toggle

Popover Toggle

Roy Jemee
Updated on August 6, 2026

7 min read

The Popover Toggle field is a switch that opens a small popover of child controls when turned on. Elementor uses the same pattern for its own optional feature clusters, and inside the Master Addons Widget Builder it does the same job for your custom widgets: a set of related settings stays hidden behind one toggle instead of crowding the panel with a whole extra section.

The Popover Toggle supports Conditions like every control, and each field inside the popover gets its own combined token, {{ toggle_field }}, rendered by the Twig-syntax template engine. Both guides cover setup and limitations.

Unlike a plain value field, the Popover Toggle is structural. It holds the on/off state itself, and it carries child fields whose values reach your template under composed names. Both halves of that model are covered below with a working overlay example.

What the Popover Toggle field does #

  • Renders a toggle in the widget’s panel with your on and off labels.
  • Opens a popover of child controls when switched on, defined in the field’s popover fields list.
  • Accepts most value field types as children, such as color, text, select, and slider fields.
  • Exposes the toggle state to your template as a truthy value when on and an empty string when off.
  • Exposes each child value under a composed name that joins the parent and child names with an underscore.

If widget building is new territory, read 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 an image banner widget with an optional color overlay: one toggle named overlay, one color child named color.

How to add a Popover Toggle field #

In the Widget Builder editor, scroll the fields panel on the left until you find the Popover Toggle field, listed with the other structural fields such as Tabs and Repeater.

Drag it into a section under the Content or Style tab, wherever the optional settings belong. Once it lands, the field’s options open on the left, and the main work is defining the child fields the popover will hold.

Popover Toggle field options explained #

  • Label: the text next to the toggle in Elementor, for example “Overlay”.
  • Name: the unique identifier for the toggle, letters, numbers, and underscores only, for example overlay. Child names build on it, so keep it short.
  • Label On / Label Off: the two states shown on the switch, such as “Yes” and “No”.
  • Return Value: the value stored while the toggle is on, “yes” by default. Off stores an empty string.
  • Popover Fields: the child controls inside the popover. Most value field types are allowed; our example holds a single color field named color.
  • Description, Show Label, Separator, and Conditions cover the usual display options.

Read the toggle and its children in your template #

Two naming rules cover everything this field produces.

The toggle itself is available under its own name. It prints the return value when on and an empty string when off, which makes it a natural condition:

{% if overlay %} ... {% endif %}

Note that the stored value is the Return Value string, “yes” by default, not a boolean. Test truthiness the way the example does; comparing the field against true never matches.

Each child is available as the parent name and child name joined with an underscore. The color child of the overlay popover becomes overlay_color. Put together, the banner’s overlay layer looks like this in the HTML panel:

<div class="banner-media">
  <img src="{{ banner_image }}" alt="">
  {% if overlay %}
  <div class="banner-overlay" style="background: {{ overlay_color }}"></div>
  {% endif %}
</div>

Toggle off, no overlay div renders at all. Toggle on, the div appears with whatever color the editor picked. Add more children and each follows the same pattern: a child named opacity would read as {{ overlay_opacity }}.

Watch out: there is no dot notation here. {{ overlay.color }} resolves to nothing, because children are flattened to underscore-joined names, not nested under the parent. If a child value comes out empty, check the composed name first.

Use the Popover Toggle in Elementor #

Add the widget to a page in Elementor, or reload the editor if the page was already open. The control appears as a labeled switch.

Flip it on and the popover opens with the child controls. In the banner example, the editor picks an overlay color, the layer fades in over the image in the preview, and switching the toggle off removes it again without losing the chosen color.

Common use cases #

  • Image and video overlays, with color and opacity children behind one switch.
  • Optional badges on cards, where the toggle shows the badge and children set its text and style.
  • Hover effect settings that only matter when the effect is enabled.
  • Countdown or schedule options on banners that are sometimes time-limited.
  • Secondary buttons, keeping the second button’s text, link, and style out of sight until needed.

Tips for working with the Popover Toggle field #

  • Wrap dependent markup in {% if parent %}. The toggle’s whole point is that the children only matter when it is on; the template should reflect that.
  • Compose child names with an underscore. Parent overlay plus child color is {{ overlay_color }}, never {{ overlay.color }}.
  • Keep parent names short. Every child token repeats the parent name, and {{ overlay_color }} reads better than {{ banner_image_overlay_settings_color }}.
  • Use it for genuinely optional clusters. Settings the widget always needs belong in the open panel; the popover is for the sometimes features.
  • Give children sensible defaults. The moment the toggle flips on, the feature should look intentional rather than unstyled.

Frequently Asked Questions #

What is the Popover Toggle field in the Master Addons Widget Builder?

It is a structural field: a switch that opens a popover of child controls when turned on. The toggle’s state reaches your template under the field’s name, and each child value arrives under the parent and child names joined with an underscore, such as {{ overlay_color }}.

How do I check whether the toggle is on?

Use it directly in a condition: {% if overlay %}. While on, the field holds its return value, “yes” by default; while off, it holds an empty string, which counts as false.

How do I print a child field’s value?

Join the parent and child names with an underscore. A popover named overlay with a child named color prints as {{ overlay_color }}. Dot notation like {{ overlay.color }} does not resolve for popover children.

Which field types can go inside the popover?

Most value field types work as children, including color, text, select, and slider fields. Each child keeps its own type’s value shape, so a slider child still needs its size and unit read the usual way.

Do child values survive toggling off?

Yes. Switching the toggle off hides the popover and makes the parent condition false, but the children keep their values, and everything returns when the toggle comes back on.

When should I use a Popover Toggle instead of a Switcher?

Use a plain Switcher when one on/off flag is all you need. Reach for the Popover Toggle when the flag brings settings with it; the children live inside the popover instead of cluttering the panel behind a separate switcher and conditions.

Wrapping up #

The Widget Builder Popover Toggle field keeps a widget’s panel honest: the everyday controls stay visible, and the optional cluster waits behind a switch. Wire it with {% if parent %} around the markup and underscore-joined tokens for the children, and the feature switches cleanly on and off. For the other structural patterns, see the Repeater field, which handles lists the same way this field handles options. 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
MediaURL Field
Table of Contents
  • What the Popover Toggle field does
  • Before you start
  • How to add a Popover Toggle field
  • Popover Toggle field options explained
  • Read the toggle and its children in your template
  • Use the Popover Toggle in Elementor
  • Common use cases
  • Tips for working with the Popover Toggle field
  • Frequently Asked Questions
    • What is the Popover Toggle field in the Master Addons Widget Builder?
    • How do I check whether the toggle is on?
    • How do I print a child field's value?
    • Which field types can go inside the popover?
    • Do child values survive toggling off?
    • When should I use a Popover Toggle instead of a Switcher?
  • 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