Tutorials
E
Elementor
16 tutorials
A
AWS Lightsail
Beginner-friendly AWS Lightsail guides
12 tutorials
W
WordPress
12 tutorials
View all tutorials →
Tools
W
Website Platforms & Tools
Tools to build, host, and optimize fast, reliable, and professional websites.
8 tools
W
Web Hosting Providers
Fast, secure web hosting with reliable uptime to power and scale your website.
6 tools
V
VoIP / Communications
Business phone tools with virtual numbers, call routing, and auto-attendants for a professional pres
4 tools
W
Website Security
Security tools to protect your site from threats, malware, and unauthorized access.
2 tools
B
Branding & Logo Design
Create a strong brand identity with custom logo and professional design services.
1 tool
View all tools →

How to Create a Sticky Header in Astra + Elementor (Free Version, No Pro Needed)

Gerry Manzari Written by Gerry Manzari · March 30, 2026 · 1 min read

If you’re using the free version of Elementor, you’ve probably already realized there’s no way to make your header sticky — which is probably why you’re here. Normally, you’d need Elementor Pro or a premium feature for this. In this post, I’ll show you how to do it using the free version of both Elementor and the Astra theme.

Astra’s header uses the .site-header class, so that’s the class we’ll need to target with our CSS:

Paste this code into Appearance → Customize → Additional CSS.

CSS
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

Optionally, you can add a subtle box shadow to give the header a bit more depth. If your header is using a light background, try this:

CSS
.ast-primary-header-bar {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

If your header uses a dark background color, this CSS will work better:

CSS
.ast-primary-header-bar {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

Watch the tutorial on YouTube:

Watch Video

How to Create a Sticky Header in Astra + Elementor (Free Version, No Pro Needed)

YouTubeWatch now →