Drupal 9 – Create a sub-theme

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
Regina Hackenberg

Regina Hackenberg

I love tech, cats, lifting weights, running, video games and living in Ireland! When I’m not spending time working as Solution Architect, I’m learning about tech and share what I’ve been learning!