Countdown timers

Novara includes countdown timers in several places. All use the <countdown-timer> web component and assets/countdown.css.

Where timers appear

LocationHow to configure
Announcement barHeader → Announcement bar → block → Countdown deadline
Product pageProduct section → add Countdown timer block
Featured collection / dealproducts-deal section settings
Image with text overlaySection countdown setting
Featured productSection or block countdown
Stock countdown_product-stock-countdown block on product page

Date format

For announcement bar and most timers, use:

YYYY-MM-DD HH:MM:SS

Example: 2026-12-31 23:59:59

Use your store timezone. When the deadline passes, the timer hides automatically.

Announcement bar timer

  1. Customize → Header
  2. Select Announcement bar section
  3. Edit an Announcement block
  4. Fill Countdown deadline field
  5. Announcement text shows beside the live countdown

HTML structure (for developers):

<countdown-timer
  data-endtime="2026-12-31 23:59:59"
  data-format="dd:hh:mm:ss"
  data-days="Days"
  data-hours="Hours"
  data-mins="Mins"
  data-secs="Secs">
</countdown-timer>

Product page timer

  1. Customize → Products
  2. Select Main product section
  3. Add block → Countdown timer
  4. Set message text and timer style (default / highlight)

Product countdown can use metafields or section settings depending on block configuration. See Product countdown timer block.

Styling

Timer appearance is controlled by:

  • assets/countdown.css
  • CSS variables: --countdown-text-size, --countdown-text-weight
  • Color scheme of the parent section

Tips

  • Do not use fake urgency timers that mislead customers (Shopify Theme Store policy).
  • Test on mobile — timers wrap in announcement bar on small screens.
  • Clear the deadline field to hide the timer without removing the block.