Drupal Create Bootstrap 5 Subtheme

Below steps are tested with Drupal 9 and bootstrap 5.

Step 1: Install Bootstrap 5 theme

Step 2: Click on Appearance

Step 3: Click on installed Bootstrap 5 theme Settings

Drupal 9 Create Bootstrap 5 Subtheme

Step 4: Navigate to Subtheme section and set subtheme location, subtheme name and subtheme machine name

Drupal 10 Create Bootstrap 5 Subtheme

Step 5: Click on Create

Your subtheme is ready, check in Appearence section.

To override page.html.twig copy from location templates/layout folder and create similar directory structure.

Fri, 02/24/2023 - 03:05
Tarun Goswami is a highly experienced professional, currently serving as Technical Lead at a well-established IT services company. With over 12 years of experience across multiple domains, he demonstrates his expertise and passion for the industry through his engaging and informative blog writing in his spare time.
Tags

Comments