This module adds an optional subtitle field to blocks, allowing for more descriptive block titles. You can enter a subtitle when configuring a block and then add theme template suggestions to display it.
πΊπ¦
This module is maintained by Ukrainian developers.Please consider supporting Ukraine in a fight for their freedom and safety of Europe.
This module allows subtitle to be added to blocks.
Installation
- Enable the Block Subtitle module under Administer >> Site Building >> Modules
- To add a subtitle to a block, go to the block configuration page. A new field 'subtitle' will be available. Enter your subtitle and click save.
- Now you need to edit block.tpl.php in your theme. Add the following code to show the block subtitle
<?php if (!empty($block->subtitle)): ?>
<h3 class="subtitle"><?php print $block->subtitle; ?></h3>
<?php endif; ?>
Drupal 8β11
Ask your assistant about Block Subtitle
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- block Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.