🪴 rhack


Search IconIcon to open search

Drupal 9 – Create a sub-theme

Last updated Feb 6, 2021

Drupal One of the things I wanted to do is, have my formatted source code inside the blog articles styled in a different way. To support the community and Drupal9 fancy new things, I used the ‘Olivero’ theme originally. Now I had to create a sub-theme to be able to change things. Drush to the rescue!

lando drush generate theme
drush lando olivero subtheme

Creates all the folders and files needed. Don’t forget to rebuild the cache with:

lando drush cr