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). 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). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). 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 enhances Drupal's Layout Builder by allowing you to display section titles and add custom CSS classes to them. This provides greater control over the appearance and structure of your layouts.

This module provides customization options for the Layout Builder sections. With this module, you can display the Section title, and provide css classes for them providing you more customization to your sections.

Requirements

This module requires the following modules to be installed:

  • Drupal core >= 9.5 || 10
  • Layout Builder

Installation

  • Install the module as you would normally install a contributed Drupal module.
    Visit https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules for further information.

  • After installation, visit the Layout Builder configuration page to configure
    the module settings.

  • You will now see the menu option
    Configuration / Content Authoring / Layout Builder Sections Configuration,
    it can be used to configure the custom classes data to your sections label.

Use cases

  • Display a section label on the view page
  • Add custom CSS classes to a section label
  • Add custom data attributes to a section

Configuration

The module provides a config page
in /admin/config/content/layout-builder-sections-config where the fields that
are added to the section forms can be configured.

Usage

  • Once the module is enabled and configured, you can start using it on the
    Layout.
  • When you add a new section, you will see a new field called
    "Show admin title on view display" where you can check to display the section administrative label on the view display.
  • You will also see the selected styles on the displayed label.
  • You might need to personalize the twig templates for your theme. If so, use
    the models provided on layouts folder.

Support

This is a contrib module and as such, it's not officially supported by the
Drupal community. However, you can open an issue on the module's page on
drupal.org if you find any bugs or have any feature requests.

Known issues

  • The module includes additional configuration metadata on the sections saved
    after the module is installed. Those metadata are not automatically purged
    when you uninstall the module.

Activity

Total releases
2
First release
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.0.2 Stable May 8, 2025
1.0.1 Stable Mar 13, 2025