Skip to content

Drop countdown

A clock counting down to the next drop. It’s a section you place wherever the announcement belongs — usually high on the homepage — in one of two layouts.

SettingTypeDefaultWhat it does
LayoutSelectpanelpanel is a bordered block in the page; banner is a wider, louder treatment
KickerTextNext dropSmall accent label above the heading
HeadingTextFriday, 18:00The headline. Larger in banner layout
TextTextRun-size copyA line under the heading
Counts down toText2026-12-25 18:00The target date and time
When it is overTextThe drop is liveReplaces the clock once the date passes
Result buttonTextJoin the listOptional CTA. Needs a link to render
Button linkURL(empty)Where the CTA goes
Colour schemeSelectdefaultFlip the section onto the light or deep plane
padding_top / padding_bottomRange48 pxSection spacing

until is parsed by the browser, so use a format browsers agree on:

2026-12-25 18:00
2026-12-25T18:00:00
2026-12-25T18:00:00Z

An unparseable date hides the clock rather than showing NaN, and leaving until empty renders the section’s copy with no clock at all — which is a legitimate way to use it as a plain drop announcement.

When the date passes, the units are replaced by done_text rather than left at zeros or allowed to count into negatives, and the interval stops. A countdown that ran out three weeks ago reads “The drop is live”, not 00 : 00 : 00 : 00.

  • Numbers are zero-padded, so the layout doesn’t jump between 9 and 10.
  • Days, hours, minutes and seconds each have their own unit block.
  • role="timer" with aria-live="off" — so assistive technology knows what it is without announcing every single second, which would make the page unusable.
  • With no date set, no clock is rendered at all — it isn’t drawn and then hidden, so there’s no flicker on load.

The theme used to ship this as two separate files — a drop banner and a countdown — which both rendered a clock and both bound their script to the same selector. With both on one page, each section’s handler matched the other’s element, found no date on it, and hid it; a merchant who set a deadline on the banner watched its clock vanish.

It’s one file with a layout setting now. If you want both a banner at the top of the homepage and a panel further down, add the section twice with different layouts — each gets its own independent ticker.