Sticky Header

Sticky Header

A sticky header stays visible at the top of the screen as visitors scroll down your page. This keeps your navigation accessible at all times, making it easier for people to explore your site.

Sticky header configuration options in the Customizer

What You Can Do

With BuddyX Pro’s sticky header feature, you can:

  • Keep your menu visible while scrolling
  • Choose when the header becomes sticky
  • Use a different (smaller) logo for the sticky version
  • Customize sticky header colors
  • Enable smooth scroll-triggered animations

Enabling Sticky Header

  1. Go to Appearance > Customize
  2. Click on Header > Sticky Header
  3. Switch Enable Sticky Header to Yes
  4. Click Publish

Now scroll down any page to see your header stick to the top.

Sticky Header Behavior

When It Activates

OptionWhat Happens
On Scroll DownHeader sticks after scrolling past a certain point
On Scroll UpHeader appears when scrolling back up (smart sticky)
AlwaysHeader stays fixed from the start

Recommendation: “On Scroll Up” is popular because it gives readers more screen space while scrolling down, but shows the menu when they need it.

Scroll Threshold

Set how far visitors must scroll before the sticky header activates:

SettingTypical Value
Scroll Distance100-200 pixels
Trigger PointWhen original header scrolls out of view

Sticky Header Appearance

Size Changes

Your sticky header can be more compact than the original:

ElementOriginalSticky
Header Height100px70px
Logo SizeFull sizeSmaller version
PaddingNormalReduced

This gives visitors more content viewing area while still providing navigation access.

Sticky Logo

Upload a separate logo optimized for the sticky header:

  1. Go to Site Identity
  2. Find Sticky Header Logo
  3. Upload a smaller or simpler version of your logo
  4. Click Publish

Tips:

  • Use a more compact version of your logo
  • Horizontal logos work well in sticky headers
  • Consider icon-only versions for very compact sticky headers

Background & Colors

SettingOptions
Background ColorSolid color, transparent, blur effect
Background Opacity0% (transparent) to 100% (solid)
Text/Link ColorsCan differ from original header
ShadowAdd subtle drop shadow for depth

Animation Effects

Entry Animation

How the sticky header appears:

AnimationDescription
Slide DownDrops in from top
Fade InGradually appears
NoneInstant appearance

Recommendation: Slide Down feels natural and draws attention to the sticky header without being distracting.

Transition Speed

SpeedFeel
Fast (0.2s)Snappy, responsive
Medium (0.3s)Smooth, balanced
Slow (0.5s)Elegant, deliberate

Recommended Setups by Site Type

E-Commerce Store

Type: On Scroll Up (Smart Sticky)
Height: Compact (60-70px)
Background: Solid white with subtle shadow
Elements: Logo (compact) + Main Menu + Cart Icon

Why: Maximizes product viewing space; menu appears when customers scroll up to navigate or check cart.

Blog/Magazine

Type: On Scroll Up
Height: Minimal (50-60px)
Background: Semi-transparent with blur
Elements: Logo (icon) + Main Menu + Search

Why: Readers can focus on content; navigation available when needed without blocking reading experience.

Corporate Website

Type: On Scroll Down (Always after threshold)
Height: Standard (70-80px)
Background: Same as main header
Elements: Full menu mirroring original header

Why: Professional consistency; visitors always see company branding and can navigate easily.

Community Platform

Type: On Scroll Up
Height: Compact (60-70px)
Background: Solid with slight transparency
Elements: Logo + Main Menu + Notifications + User Avatar

Why: Members can quickly check notifications and access their profile while browsing activity feeds.

Landing Page

Type: Disabled or On Scroll Down
Height: Very compact (50px)
Background: Transparent until sticky, then solid
Elements: Logo + CTA Button only

Why: Keeps focus on content; sticky header reinforces primary call-to-action.

Portfolio Site

Type: On Scroll Up
Height: Minimal (50px)
Background: Transparent with blur effect
Elements: Logo (small) + Menu (icon/hamburger)

Why: Maximizes visual impact of portfolio pieces; clean, minimal header doesn’t compete with creative work.

Mobile Sticky Header

The sticky header works on mobile too:

SettingOptions
Enable on MobileYes / No
Mobile HeightUsually more compact
Mobile ElementsMenu toggle + essential icons

Recommendation: Enable sticky header on mobile, but keep it very compact (50-60px) since screen space is limited.

What It Looks Like

Before Scrolling:

┌─────────────────────────────────────────────────┐
│ [LARGE LOGO]    Home  About  Services  Contact  │  ← Full Header
├─────────────────────────────────────────────────┤
│                                                 │
│                  Page Content                   │
│                                                 │

After Scrolling (Sticky Active):

┌─────────────────────────────────────────────────┐
│ [small logo]  Home  About  Services  Contact    │  ← Sticky Header
├─────────────────────────────────────────────────┤
│                                                 │
│                  Page Content                   │
│         (user is viewing this area)             │

Performance Considerations

Sticky headers are lightweight, but here are tips for best performance:

TipBenefit
Use CSS transitionsSmoother than JavaScript animations
Keep sticky header simpleFewer elements = faster rendering
Avoid heavy imagesSVG logos are best
Test on mobileEnsure smooth scrolling on all devices

Common Questions

Will sticky header affect my SEO? No, sticky headers don’t impact search engine rankings. They improve user experience, which can indirectly help SEO.

Can I disable sticky header on certain pages? Yes, individual pages can have sticky header disabled through page settings or custom code.

Does sticky header work with transparent headers? Yes! You can have a transparent header that becomes solid when sticky. Great for hero images.

Why does my sticky header look different on mobile? Mobile sticky headers are often more compact by design to save screen space.

Can the sticky header have a different menu? By default, it shows the same menu. Showing different items requires custom development.

Related Settings


Need Help?

Last updated: January 31, 2026