Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Section Banner

No security coverage Drupal 10–11
View on drupal.org

This module allows you to display dynamic banners on specific parts of your website, such as individual pages, content types, or views, without needing to write code. You can configure banners with titles, descriptions, and images, and they support multiple languages, tokens for dynamic content, and can be styled using custom CSS.

Introduction

Section Banner allows site builders to display dynamic banners on specific pages, content types, Views, or routes without custom code. Each banner can include a title, description, and image. It is fully multilingual, token-enabled, and theme-friendly.

Features

  • Display banners based on paths, wildcard patterns, content types, Views, or route names.
  • Multilingual support with automatic fallback when translation is missing.
  • Token support for dynamic content (e.g., node title, current user name).
  • Shared banner images across languages.
  • Custom CSS classes for flexible styling.
  • Provides a Twig template (section-banner-block.html.twig) which can be overridden in your theme to fully customize the markup and match your design requirements.
  • Performance-optimized caching with proper cache contexts and tags.

Use cases: Page-specific banners, section landing banners, View-based banners, multilingual banner management, and reusable configuration-driven banners.

Post-Installation

After installing:

  1. Go to Configuration → Content authoring → Section Banner (/admin/config/content/section-banner).
  2. Select the language to configure.
  3. Create or edit banners:
    • Enter banner title and description (supports tokens)
    • Upload a banner image (shared across languages)
    • Define display rules (paths, Views, bundles, routes)
    • Add optional CSS classes
  4. Place the Section Banner Block via Structure → Block layout.

No new content types are created. Clear cache after configuration changes to ensure banners display correctly.

Similar projects

Other banner modules typically rely on block visibility or manual placement. Section Banner provides a more flexible approach:

  • Unified rule-based banner management
  • Support for paths, Views, bundles, and routes
  • Multilingual fallback handling
  • Full Twig override support using section-banner-block.html.twig for complete theming control

Depends on

Dependencies of the latest stable release

  • block Drupal core
  • file Drupal core
  • filter Drupal core
  • image Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.1 Stable 10–11 Feb 2, 2026
1.0.0 Stable Feb 2, 2026