Bootstrap 5 for Drupal

Bootstrap 5

Bootstrap Theme revamped with Single Directory Components, Bootstrap 5, jQuery free.

The theme is ready for Drupal 11 and will work only for 10.3+ core versions.

Two subtheme options:

  • Simple CSS subtheme
  • SASS subtheme

This base theme bridges the gap between Drupal and the Bootstrap Framework.

✔ Features

  • Columns
    • Column based grid
    • 1, 2 and 3 column automatic layouts
    • User defined column widths
    • Container and container fluid layout
  • Markup
    • Standard Bootstrap 4 or 5 markup replacing Drupal twig templates
    • Easy to customize twig templates
    • Standard markup for header navigation
    • Bootstrap 5 offcanvas menu
    • Hide node titles on all view modes
    • Multilevel main menu flyout submenus options
    • Collapsed left slide main menu option
    • Bootstrap form elements, including custom elements
    • Classes to identify menu links
    • Customized Bootstrap themed tables
    • SVG icons integration on default links
    • Scroll class on body on window scroll, with scroll up and down class added on scroll behaviour
    • Three options for messages customizations
    • Replace Commerce templates with Bootrstrap twig template
  • Features
    • Color Module integration on subtheme
    • Bootswatch integration via CDN
    • Predefined Google Fonts combinations
    • Card Column Views template to alllow card column listings
    • Extra theme suggestions for entities and blocks
    • Body classes for entities and views

Upgrade from Bootstrap 3

No formal upgrade path, 5.x version is a complete rewrite of the original 8.x-3.x theme.
Open discussion here Path to upgrade Bootstrap Theme from version 8.x-3.x to 5.0.x

Bootstrap 3 for Drupal 11

There is a Drupal 11 compatible release of bootstrap 8.x-3.x using a new jQuery 4 compatible bootstrap 3 cdn library. The upgrade path described in the release notes.

New actively supported library

There is a new library being used for bootstrap 3 since release 3.33. The Entreprise7pro bootstrap library has replaced the twbs bootstrap library going forward. It is currently actively supported and with community feedback and support it will continue to be modernized. The focus is on low impact improvements with minimal disruption.

Some of the important features from bs4 / bs5 may be backported in a future 3.5.x branch of the library.. 100% compatibility is expected for 3.4.x while modernization continues in 3.5.x. The goal is for zero impact solutions targetted to the 3.4.x branch and no to low impact solutions targeted for the 3.5.x branch.

8.x-3.x of this theme is continuing forward. Library version selection (of Entreprise7pro bootstrap) will continue to be provided as an option in the theme settings.

Help support Drupal Bootstrap and the entire Drupal community

This project is part of Drupal's contributed ecosystem, both of which are completely free. Everyone is welcome and the Drupal community is here to help.

Supporting organizations: 
Funded an upgraded and jQuery 4 compatible version of the bootstrap 3 library as well as ongoing Drupal development.

Project information

Releases