Sticky Header & Floating Bar Block by WPWing
Sticky headers, floating CTAs, and cookie bars for Gutenberg. Fix any block to the viewport as visitors scroll — lightweight with zero dependencies.
Solid choice
Sticky Header & Floating Bar Bl… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 23 hours ago, and scores 64/100 on our health check.
- Actively developed — last update 23 hours ago
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Sticky Header & Floating Ba… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cookie bar | >100 |
| floating | >100 |
| sticky | >100 |
| sticky block | >100 |
| sticky header | >100 |
About Sticky Header & Floating Bar Block by W…
From the official readme · v2.13.0Description
Try the Live Demo — test all four presets in WordPress Playground directly in your browser with zero setup.
Why not core position: sticky? Core’s sticky position only keeps a block pinned while its parent container is on screen, and it cannot hide, reveal, dismiss, or restyle a block as the visitor scrolls. This block uses position: fixed with scroll detection, so a header, cookie bar, or call-to-action stays in view in any layout – with an offset, a reveal trigger, sticky-state styles, and a dismiss button.
Sticky Header & Floating Bar Block is a container block that sticks to the top or bottom of the page once the visitor scrolls past it. Drop any blocks inside — a navigation menu, a call-to-action, a contact button, a sidebar widget — and they will follow the reader down the page.
Unlike CSS position: sticky, which only works within its parent scroll container, the block works reliably in any layout. And when confinement is exactly what you want – a sidebar that follows the reader but stops at the end of its section – switch the block to the “Within parent container” mode.
Key Features
- Ready-made patterns — insert a Sticky Nav Bar, Cookie Notice Bar, Floating CTA, or Back to Top button pre-configured with sensible defaults, right from the block inserter.
- Translations — the editor UI is available in Spanish, French, and German, with more locales welcome via translate.wordpress.org.
- Multiple sticky blocks per page — place as many sticky blocks as you need, each with its own settings.
- Container block — nest any Gutenberg blocks inside: navigation, buttons, headings, images, widgets.
- Top or bottom sticky — choose whether the block locks to the top or bottom of the viewport. Cookie bars, chat widgets, and floating CTAs belong at the bottom.
- Stick within parent container – a per-block mode that keeps the block sticky only while its parent container is in view, then lets it scroll away with it. The classic sticky-sidebar pattern, no code required.
- Flexible reveal triggers – show the block immediately, after a pixel or percentage scroll threshold, or after a time delay. Pairs naturally with an entry transition for a smooth appear effect.
- Dismissible — add a close button so visitors can dismiss the block, and optionally remember the dismissal for a set number of days. Perfect for cookie bars and floating CTAs.
- Dismiss button styling – control the close button’s icon color, background color, and size so it matches your design.
- Sticky style preview in the editor – a toolbar toggle applies your sticky-state styles to the block in the canvas, so you can design the stuck look without leaving the editor.
- Top offset — set how many pixels of space to leave between the sticky block and the top of the viewport.
- Admin toolbar aware — automatically shifts down for logged-in users who have the WordPress admin bar visible.
- Z-index control — fine-tune stacking order so the sticky block always sits above (or below) other elements.
- Scroll direction mode — choose “Always sticky” or “Only while scrolling up” (the pattern used by modern sticky headers that appear on the way back up).
- Stop before an element — un-stick the block before it overlaps a footer or another landmark, using a CSS selector (e.g.
#footer). - Disable on mobile — turn off sticky behaviour below a configurable viewport breakpoint (default 768 px).
- Disable on desktop — turn off sticky behaviour above a configurable viewport breakpoint. Useful for elements that should only float on smaller screens.
- Sticky-state background color — set a background color that only appears while the block is stuck, e.g. a solid white behind a transparent nav.
- Sticky-state text color — change the text color when sticky, so a transparent header with light text can switch to dark text on a white background.
- Sticky-state shadow — add a drop shadow (Small / Medium / Large) that appears only when the block is in sticky position.
- Sticky-state padding (all sides) — control top, bottom, left, and right padding independently, applied only while the block is stuck.
- Sticky-state border — add a Solid or Dashed border with custom width and color that appears only in the sticky state.
- Sticky-state border radius – round the block’s corners only while it is stuck.
- Sticky-state opacity – make the block semi-transparent while it is stuck, for a subtle see-through floating bar.
- Sticky-state min/max width – set a minimum and/or maximum width the block should hold while stuck, so a nav bar or floating button doesn’t stretch or shrink to an awkward size.
- Full width when sticky — instantly expand the block to span the full viewport width the moment it becomes sticky, ideal for navigation bars.
- Entry & exit transition — animate the block smoothly in and out of the sticky state with Fade, Slide down, or Fade + Slide, with a configurable duration.
- Custom class when sticky — add your own CSS classes to the block when it becomes sticky, for advanced theme integration.
- State classes for developers – the block always carries an
is-stickyoris-not-stickyclass, so your theme CSS can target both states without any JavaScript. - Block transforms — convert any Group block into a Sticky Block (and back) directly in the editor, without rebuilding.
- Accessibility — set an
aria-labelon the sticky wrapper to give screen reader users useful context. - Zero dependencies — no jQuery. The frontend script is plain JavaScript, under 4 KB minified.
How to use
- In the block editor, search for Sticky Block and insert it anywhere on your page – or search for Sticky Nav Bar, Cookie Notice Bar, Floating CTA, or Back to Top to start from a ready-made preset.
- Add blocks inside it — a Navigation block, a Button, a Group, anything you like.
- Open the block settings panel on the right and adjust offset, z-index, scroll behaviour, and sticky-state styles.
- Preview your page and scroll — the block will stick to the top (or bottom) of the viewport.
Installation
Automatic installation
- Go to Plugins → Add New in your WordPress admin.
- Search for Sticky Header & Floating Bar Block.
- Click Install Now, then Activate.
Manual installation
- Download the plugin ZIP from WordPress.org.
- Go to Plugins → Add New → Upload Plugin.
- Upload the ZIP and activate.
Frequently asked questions
Can I add more than one sticky block on a page?
Yes — you can place as many sticky blocks as you need on the same page. Each one has its own independent settings.
Does it work with the full-site editor (FSE)?
Yes. The block works in both the classic page/post editor and the full-site editor (Site Editor) in WordPress 5.9+.
Why does my sticky block not work inside a column or group?
If a parent element has overflow: hidden or overflow: clip set, position: fixed will be clipped to that container and may not behave as expected. Remove the overflow restriction on the parent, or move the sticky block outside the constrained container.
Can I disable sticky behaviour on phones or only show it on mobile?
Yes. Open the Responsive panel in the block settings. Enable “Disable sticky on mobile” to turn off sticky below a breakpoint (default: 768 px). Enable “Disable sticky on desktop” to turn it off above a breakpoint (default: 1024 px) — useful for elements that should only float on smaller screens.
How do I build a sticky sidebar next to a long article?
Place the Sticky Block inside the sidebar column, then set Sticky mode to “Within parent container” in the Sticky Options panel. The block follows the reader while the column is in view and scrolls away with it at the end – it never overlaps the content below. The parent column must be taller than the block itself.
How do I make the block stop before the footer?
Open the Behavior panel and enter a CSS selector in the “Stop before element” field — for example #footer or .site-footer. The block will un-stick before its bottom reaches that element.
Will it conflict with my theme’s sticky header?
It should not conflict, but if both your theme and the plugin apply position: fixed to overlapping elements, adjust the Z-index setting in the block sidebar to control which element sits on top.
Changelog
2.13.0 – 2026-10-15
- Improvement: Plugin renamed to “Sticky Header & Floating Bar Block by WPWing” so it is easier to find in search. The slug and all existing blocks are unchanged.
- Improvement: Description now explains how the block differs from core
position: sticky. - New: Comparison section in the documentation – core sticky vs this block vs selector plugins.
2.12.0 – 2026-09-24
- New: Live interactive demo on WordPress Playground covering all four presets – Sticky Nav Bar, Cookie Notice Bar, Floating CTA, and Back to Top – with no install required.
- Improvement: Quick access to the interactive demo added to plugin action links and documentation.
- Improvement: Directory listing refreshed with use-case tags, refined description, and frontend-first preview screenshots.
2.11.0 – 2026-09-10
- New: Set a minimum and/or maximum width for the block while it is sticky, in the Sticky State Styles panel – keeps a nav bar or floating button from stretching or shrinking to an awkward size once it locks into place.
2.10.0 – 2026-09-01
- New: Four ready-made patterns – Sticky Nav Bar, Cookie Notice Bar, Floating CTA, and Back to Top – insertable from the block inserter, pre-configured with sensible defaults.
- New: Spanish, French, and German translations for the editor UI.
2.9.0 – 2026-08-25
- New: Choose when the block is revealed – immediately, after scrolling, or after a time delay.
- New: Set the scroll trigger in pixels or as a percentage of the page, useful for back-to-top buttons and floating CTAs.
2.8.0 – 2026-07-19
- New: “Within parent container” sticky mode – the block stays sticky only while its parent container is in view, then scrolls away with it. Build a sidebar that follows the reader alongside a long article and stops at the end of the section – no code, no overlap with the content below.
- New: Pick the mode per block in the Sticky Options panel. The default “Whole page” mode behaves exactly as before, so existing blocks are unaffected.
- Improvement: Settings that only make sense in whole-page mode (reveal triggers, scroll direction, stop-before element, full width, and transitions) now step aside while container mode is selected, with a short note explaining why – the parent’s edges already decide when the block sticks and releases.
- Fix: Blocks with a dismiss button enabled never actually stuck – a stylesheet rule that positions the close button was silently overriding the sticky positioning, so the block scrolled away with the page. Dismissible blocks now stick correctly in both modes.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Sticky Header & Floating Bar… alternatives
All cookie bar plugins →FAQ
Sticky Header & Floating Bar Block…: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 16, 2026
Is Sticky Header & Floating Bar Bl… free?
Yes. Sticky Header & Floating Bar Bl… is free to download and use from the official WordPress.org plugin directory.
Is Sticky Header & Floating Bar Bl… safe to use in 2026?
Sticky Header & Floating Bar Bl… is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 23 hours ago, and scores 64/100 on our health check.
How many websites use Sticky Header & Floating Bar Bl…?
Sticky Header & Floating Bar Bl… is active on <10 WordPress websites and has been downloaded 1,670 times since it launched in June 2022. It was downloaded 146 times in the last 30 days.
Does Sticky Header & Floating Bar Bl… work with WordPress 7.1?
Yes. The developer has tested Sticky Header & Floating Bar Bl… up to WordPress 7.1.3, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Sticky Header & Floating Bar Bl… need?
Sticky Header & Floating Bar Bl… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Sticky Header & Floating Bar Bl… last updated?
The latest version, 2.13.0, was released on October 15, 2026 (23 hours ago).
Who makes Sticky Header & Floating Bar Bl…?
Sticky Header & Floating Bar Bl… is developed and maintained by WPWing.
What are the best alternatives to Sticky Header & Floating Bar Bl…?
The most popular alternatives to Sticky Header & Floating Bar Bl… are Cookies and Content Securit… (10K+ installs), Cookie Bar (10K+ installs) and EU Cookie Law Compliance (2K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card