Condense on scroll

Keeps a header at the top of the window and narrows it into a floating pill as the page scrolls.

For Purplish 1.3.3. Works on block themes.

Docs menu

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.

The Purplish panel on a Group block, with Condense on scroll turned on under Take the page color and Entrance on scroll.

Condense on scroll sits under Entrance on scroll.

What it does

A switch, off by default.

ChoiceWhat it does
Off DefaultThe header scrolls with the page, as your theme sets it.
OnThe 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.

Still stuck? Ask in the support forum.