Basker Docs

Announcement bar

A site-wide strip above the header for short, timely messages.

The Announcement Bar runs a thin strip across the very top of every page, above your header. It carries a short site-wide message: a closure notice, an opening-hours change, or a limited-time offer. You add it to your header, and it appears on every page at once.

The bar itself controls only the appearance. You write and schedule its message separately.

Where the message comes from

The bar shows whatever message is currently live in your Announcements area. You set the wording, links, and scheduling there. In the block editor, a Manage Announcements → link takes you straight there.

You edit what the bar says in two steps. First, configure the strip's look here. Then write or update the message in Announcements.

Appearance

Two options control how the strip looks. Both sit on the block's Appearance tab, alongside the shared controls below.

Style controls how the message appears:

  • Static Bar: a fixed strip with the message held in place. This is the default.
  • Scrolling Marquee: the message scrolls horizontally across the strip, useful for a longer line of text in a narrow space.

Border sets the edge that separates the strip from the header beneath it:

  • None: no border.
  • Bottom: a line along the bottom edge only. This is the default.
  • All: a border around the whole strip.

Shared controls

This block has no Layout tab, so width, direction, and alignment do not apply. Its padding and margin start at 0.

  • Spacing and padding: the top, bottom, left, and right padding and margin around the message, on the Padding tab.
  • Colour scheme: custom background and text colors, on the Appearance tab. With the Static Bar style, each message's color comes from its announcement type instead. Types are info, warning, critical, or success. The color scheme applies only to the Scrolling Marquee style.

Worked example

A theatre wants "Box office closed Mondays" running across the top of the site:

Add the Announcement Bar to your header

Set Style to Scrolling Marquee so the line scrolls. Leave Border on Bottom to separate the strip from the header below it.

Write the message in Announcements

Use the Manage Announcements → link to open your Announcements area. Add "Box office closed Mondays" as the message. Set when it should appear and expire.

Check the live site

The bar shows the active announcement above your header on every page. When the announcement's schedule ends, the strip clears on its own.

Where to go next

On this page