How to Show or Hide Elementor Sticky Header with Display Conditions?

Display Conditions in Sticky Header Effects for Elementor Pro control where the sticky behavior applies. Where the rules do not pass, the header still shows in its normal place, but it does not stick.

This is a Pro option, so keep both the Free and Pro plugins installed and active. For the basics, see Create a Sticky Elementor Header.

What It Does

It uses Include and Exclude rules to switch the sticky behavior on or off by page, visitor or URL.

Why It Matters

You can keep one header template and still stop it from following the visitor on pages where that gets in the way, such as a checkout or a landing page.

What You Get

  • A Display Conditions switch.
  • An Include On (Show Sticky) list and an Exclude On (Hide Sticky) list.
  • A Rule Type for each rule: Entire Site, Front Page, Posts Page (Blog), 404 Page, Search Results, Specific Post / Page, Post Type, Taxonomy Archive, Specific Term, Any Archive, Author Archive, User Logged In, User Logged Out, User Role or URL Contains.

Benefits

  • Per-page control of stickiness without duplicate headers.
  • Rules based on login state or user role.

Capabilities

  • URL Contains matches part of the page path and query string (not the domain) and ignores letter case.
  • Specific Term matches the term archive and single content that has the term.
  • Several rules can sit in each list.

How It Works

With no rules, the header sticks everywhere. With rules, it sticks when at least one Include rule matches (an empty Include list counts as a match) and no Exclude rule matches. The check runs when the page is served.

How to Use

  1. Select the main container of the header.
  2. Go to Advanced > Sticky Header Effects and turn on Enable.
  3. Turn on Display Conditions.
  4. Under Include On (Show Sticky), click Add Item, choose a Rule Type and fill in its field.
  5. If needed, add rules under Exclude On (Hide Sticky).
  6. Update the page, open it on the front end and scroll down.
Display Conditions with a URL Contains include rule
Display Conditions settings in the Elementor editor

Use Cases

  • A sticky header everywhere except pages whose URL contains checkout.
  • A sticky header only for logged-in users.

Limitations

  • The rules do not hide the header; they only control whether it sticks.
  • The rules are not applied inside the Elementor editor.
  • Specific Post / Page lists published posts and pages, up to 500.
  • For login and role rules the plugin asks for the page not to be cached; check that your cache or CDN respects this.
  • The option needs Enable to be on.

Troubleshooting

The Header Sticks in the Editor

Check the published page on the front end. The editor ignores the rules.

The Header Does Not Stick Anywhere

Check the Include list. Once it has rules, at least one must match. Also check that no Exclude rule matches.

A Rule Has No Effect on the Live Site

Clear your page cache and CDN cache, then test in a private window.

Suggested Reading

Aditya Sharma
Written by

Aditya Sharma

Product and Growth at POSIMYTH, marketer who codes. Works on the POSIMYTH WordPress plugins, including Sticky Header Effects for Elementor.

Share

Still stuck?

Ask in the community — real answers from the team and other builders.

Join Community
Ready when you are

Your Next Elementor Sticky Header Is Three Clicks Away.

Two minutes to install, one click per effect. Turn on what your build needs and ship a sticky header for Elementor that holds its own on every screen, from the first scroll to the last.