Visibility Logic for Elementor
Visibility Logic adds focused Display Conditions for Elementor to every widget, section, and container. Use conditional display rules to control exactly who sees what, when, and on which device without writing a single line of code. By default, hidden elements are removed from the HTML instead of on
Visibility Logic adds focused Display Conditions for Elementor to every widget, section, and container. Use conditional display rules to control exactly who sees what, when, and on which device without writing a single line of code.
By default, hidden elements are removed from the HTML instead of only hidden with CSS. If you need the markup to stay in the DOM, enable the Keep HTML / Hide by CSS option.
When to use Visibility Logic
- Restrict content to logged-in users, specific roles, or subscribers
- Control membership content with Elementor sections for members, subscribers, guests, or specific roles
- Schedule content to appear during a sale, event, or launch window
- Personalize pages based on user meta, ACF custom fields, or device type
- Show/hide Elementor elements for Desktop, Tablet, or Mobile visitors
- A/B test layouts by showing different content to different user segments
- Hide empty sections automatically when all child widgets are hidden
Free Conditions
- ACF Fields (NEW): Show/hide based on Advanced Custom Fields values on the current post or page. 7 operators: is empty, is not empty, equals, not equals, contains, is true, is false.
- Device Type (NEW): Target Desktop, Tablet, or Mobile users with server-side User-Agent detection. Hidden elements are fully removed from HTML.
- User Role : Logged in, logged out, or specific roles (Administrator, Editor, Subscriber, custom roles).
- User Meta : Show/hide based on any user meta field value.
- Date & Time : Schedule visibility with “from” and “to” dates. Perfect for sales, events, and time-limited content.
- Browser Type : Target Chrome, Firefox, Safari, Edge, Opera, iPhone, Android, and more.
- Flexbox Containers : Full support for Elementor’s Flexbox containers, classic sections, and nested containers.