Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module displays a customizable message banner at the top of your website. Visitors can dismiss the banner, and it intelligently reappears only if the message has been updated since they last closed it.

Displays a very simple message banner to website visitors. It can be shown at the top of all pages, or only at the top of non-admin pages.

When a visitor accesses your site, a simple JavaScript file checks their local storage to see when they last closed the banner against the time the Message Banner config form was last saved. If the config was saved more recently than the visitor closed the message last, then the banner shows to them.

A visitor can dismiss the banner by using the "Dismiss message" button. It's all semantic HTML so should be fully-accessible, and appears after the skip link on your website.

The banner can be customised by changing the background colour, and it offers an API to add your own colours without hacking it, so you can change per your brand. It's easily templated, too.

Which branch should I use?

  • 8.x-1.4 is suited to Drupal 8/9 but will receive no further updates.
  • 2.0.0 has the same features as 8.x-1.4, plus Drupal 10 support. It will receive no further updates.
  • 3.0.0+ introduces Drupal 11 compatibility, plus several new features that have been in the issue queue for far too long!

Activity

Total releases
3
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.1 Stable Jan 21, 2026
3.0.0 Stable Jan 20, 2026
3.0.x-dev Dev Jan 20, 2026