Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

message_banner

376 sites Security covered
View on drupal.org

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
4 months ago
Release cadence
1 day
Stability
67% stable

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