Guides
Elementor
Build your website with Elementor — no code needed
16 guides
WordPress
Learn how to build a professional website on WordPress
14 guides
AWS Lightsail
Beginner-friendly AWS Lightsail guides
12 guides
W
Website Platforms
1 guide
View all guides →
Tools
Website Platforms & Tools
Tools to build, host, and optimize fast, reliable, and professional websites.
8 tools
Web Hosting Providers
Fast, secure web hosting with reliable uptime to power and scale your website.
7 tools
VoIP / Communications
Business phone tools with virtual numbers, call routing, and auto-attendants for a professional pres
4 tools
Website Security
Security tools to protect your site from threats, malware, and unauthorized access.
2 tools
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)

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 →

Keep Reading

Tools We Recommend

Recommended Tools

Shopify

Shopify is one of the most powerful all-in-one eCommerce platforms available today, designed to help anyone—from beginners to…

4.7
Updraft

UpdraftPlus Review – The Easiest Way to Back Up Your WordPress Website If you’re running a WordPress site…

4.7
Free / Pro from $70/yr (2 sites)
Zillion Designs

At manzari.com, we’ve been using Zillion Designs since 2015 as our go-to platform for logo design and brand…

4.5
From $199 (+ 20% processing fee)

Affiliate links — we may earn a commission at no extra cost to you.