Where to find it
Open your header, like Appearance, Editor, Patterns, Header. Select the Group that holds the header bar, then turn on Condense on scroll in the Purplish panel.
Condense on scroll sits under Entrance on scroll.
What it does
A switch, off by default.
| Choice | What it does |
|---|---|
| Off Default | The header scrolls with the page, as your theme sets it. |
| On | The header stays at the top of the window. As the page scrolls, it narrows into a rounded pill of frosted glass, and grows back on the way up. |
Good to know
Before you turn it on
- Turn it on for a Group that sits right inside the header template part. A Group nested inside another block doesn't make the header stick.
- Blocks above the Group in the header, like a note bar, scroll away while the bar stays.
- A Group with its own background color keeps that color, with no frosted glass.
- Visitors who ask their device for reduced motion, and browsers without scroll timelines, keep the full bar at the top.
- The Flagship header pattern comes with it on.