An announcement banner is a bar at the very top of every page, above the navbar. Use it to announce a launch, a promotion or a notice.

Set it up

Go to Settings → Appearance → Announcement Banner in the Flowershow dashboard and enter your message. Clear the field to remove the banner.

Or add a banner to your config.json:

"banner": {
  "text": "We just launched **v2**! [Read the announcement](/blog/v2)",
  "dismissible": true
}
FieldTypeDefaultDescription
textstring—The message. One line, up to 200 characters. No banner is shown without it.
dismissiblebooleantrueShow a close button so visitors can hide the banner

As with other options, config.json wins over the dashboard.

Formatting the text

The text supports three inline patterns and nothing else:

WriteResult
**bold**bold
*italic*italic
[label](https://example.com)a link
  • Links can point to another site (https://…, opens in a new tab), to a page on your site (/blog/v2, starting with /) or to an email address (mailto:hi@example.com).
  • Raw HTML is not supported and is shown as plain text.
  • Line breaks are not supported: the text must be a single line.
  • Syntax that isn't closed, such as a lone **, is shown as written. It never breaks the page.

Dismissing

When dismissible is true, visitors can close the banner with the × button. It stays closed in that browser until you change the text, then it shows again for everyone. Set dismissible to false for something visitors must not miss.

Temporary sites

On a temporary site, the "Claim this site" bar stays above your banner.

Built with LogoFlowershow