How to Make a Sticky Header in Elementor (Shrink on Scroll Too)

Make a sticky header in Elementor with Motion Effects, change its background or shrink the logo on scroll, and fix anchor link offsets.

Card: how to make a sticky header in Elementor

Table of Contents

To make a sticky header in Elementor, open your header template, select the outer container, go to Advanced, Motion Effects, set Sticky to Top and choose the devices. Add an offset if needed, and use “Effects Offset” to change the background or shrink the logo after scrolling. On mobile, keep the sticky header short so it does not cover content.

Key takeaways
  • Sticky is set in Advanced, Motion Effects.
  • Apply it to the outer header container.
  • Use scroll effects to shrink or change background.
  • Keep mobile sticky headers compact.
  • Check that anchor links are not hidden under the header.

How do you make the header sticky?

  1. Edit the header in Theme Builder.
  2. Select the outer container.
  3. Advanced, Motion Effects, Sticky: Top.
  4. Sticky On: Desktop, Tablet, Mobile as needed.
  5. Set Effects Offset (for example 80px) for scroll changes.

How do you shrink it on scroll?

EffectHow
Change backgroundAdd a class and CSS for the elementor-sticky–effects state
Shrink logoCSS reducing logo width in the sticky state
Add shadowBox shadow in the sticky state
Transparent to solidTransparent initially, solid colour when sticky
1-to-1 tutoringLearn WordPress faster with a mentor

Live 1-to-1 WordPress and Elementor lessons on your own site, from $40. Every lesson recorded. Beginners welcome.

See lessons and prices

What common problems happen?

Imagine clicking a menu link to #pricing, and the heading lands hidden under the sticky header. Add a scroll offset (scroll-margin-top in CSS, or the anchor offset setting) equal to the header height. Also avoid sticky headers taller than about 80px on phones; they eat the screen. Learn the CSS states in Elementor custom CSS.

Want to learn Elementor faster with a tutor?

I teach WordPress and Elementor 1-to-1 over Zoom or Google Meet, on your own website, at your pace. Lessons start at $40, every lesson is recorded so you can rewatch it, and you get a short checklist afterwards. Beginners, business owners, students and freelancers are all welcome. See lessons and prices or book a free intro call.

Frequently asked questions

How do I make a header sticky in Elementor?

Select the header container, go to Advanced, Motion Effects and set Sticky to Top.

How do I shrink the header on scroll?

Use Effects Offset and CSS targeting the sticky effects state to reduce padding and logo size.

Why do anchor links hide under my sticky header?

Add scroll-margin-top or an anchor offset equal to the header height.

Should the header be sticky on mobile?

It can be, but keep it compact so it does not cover content.

Sources

1-to-1 tutoringLearn WordPress faster with a mentor

Live 1-to-1 WordPress and Elementor lessons on your own site, from $40. Every lesson recorded. Beginners welcome.

See lessons and prices
Written by Tanvir H

WordPress and Elementor web designer at Tanvir WebXprt, Bangladesh, with 7+ years of experience and 650+ projects for clients worldwide. Tanvir builds, fixes and speeds up WordPress sites every week and writes these guides from that hands-on work.

Keep learning

More WordPress guides

Done for you

Rather have an expert run your WordPress site?

Tanvir H is a Bangladesh-based WordPress and Elementor web designer with 7+ years of experience, 650+ projects and a 4.9 client rating. New websites, redesigns, fixes, speed, security and SEO, handled by one expert who explains everything in plain English and works with clients worldwide.

Website developmentWordPress, Elementor & WooCommerce sitesfrom $899
Fixes & speedErrors, hacks, Core Web Vitals, upgradesFree quote
SEO & paid adsRank on Google, run Meta & Google Adsfrom $300
Creative designWeb, graphic & brand identityfrom $220

Contents

Was this helpful? Spread the word and share with your network!
Facebook
Pinterest
LinkedIn
Reddit
VK
X
Telegram
Threads
Tumblr
Email
WhatsApp
Pocket

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Article