How to Change Elementor Sticky Header Background Color on Scroll?
A header that changes color as visitors scroll stays readable on every part of the page. Sticky Header Effects for Elementor adds a Background Color switch that sets the header color after scrolling.
For the full feature overview, see Create a sticky Elementor header.
What It Does
Background Color lets you choose what color the header background changes to after scrolling. The plugin describes it in the same words.
Why It Matters
A transparent header over a hero looks great at the top but can become hard to read over body content. Switching to a solid or gradient color after scrolling fixes that.
What You Get
- A Background Color switch.
- A Background Type choice: Classic or Gradient (Classic is the default).
- A Color picker.
- Gradient controls: a second color, locations, Linear or Radial type, an angle for Linear and a position for Radial.
Benefits
- Readable header on any background.
- Classic color or gradient from the editor.
- Pairs well with Transparent Header.
Capabilities
- Pick a single color with Classic.
- Build a gradient with the Gradient type.
- Enable On lets you choose Desktop, Tablet and Mobile. All of them are selected by default.
- Scroll Distance (px) sets when the color changes (0 to 500, default 60).
How It Works
Once the visitor has scrolled past the scroll distance, the plugin changes the header background to the color you chose. The plugin notes that gradients will not be transitioned, so a gradient appears without a transition.
How to Use
Elementor and Sticky Header Effects for Elementor must be installed and active.
- Select the main container of the header.
- Go to Advanced > Sticky Header Effects and turn on Enable.
- Turn on Background Color.
- Choose Classic or Gradient under Background Type.
- Pick the Color. For a gradient, also set the second color, locations and angle or position.
- Update the page and scroll on the front end to check it.

Use Cases
- A transparent hero header that turns solid after scrolling.
- A brand-colored bar once the visitor is reading.
- A subtle gradient header for a creative portfolio.
Limitations
- Gradients are not transitioned.
- The color change applies only after the scroll distance is reached.
- If Transparent Header is also on, remember it does not override Elementor’s own sticky settings.
- Every Sticky Header Effects option depends on Enable being on.
Troubleshooting
The Color Does Not Change When I Scroll
Check that Enable and Background Color are on, that you picked a Color, and that you scrolled past the Scroll Distance (px) value on the front end.
The Gradient Appears Suddenly
This is expected. The plugin notes that gradients will not be transitioned. Use a Classic color if you need a transition.
The Color Looks Different on Mobile
Check that Enable On includes Mobile, and view the page on a real phone or in preview.
Suggested Reading
Still stuck?
Ask in the community — real answers from the team and other builders.