Skip to main content
Home
Anthony Media

Main navigation

  • Home
  • Build a Block

Breadcrumb

  1. Home
  2. Build a Basic Custom Block Component to Use in Layout Builder

Theming

We'll build a very simple sub-theme based on our default theme, Olivero. I say 'simple,' because, while there seem to be alternative ways to build and use the sub-theme, they require more setup and programming than what we need in order to theme our component. I just wanted to stick with basic css. 

For reference, here's the article I used to set up the sub-theme:

https://www.drupal.org/docs/theming-drupal/creating-sub-themes

I went by the Creating a sub-theme Manually section. If you're ready, let's proceed.

  • Set up the Sub-theme
  • Add Sub-theme Templates

Book traversal links for Theming

  • Add the Media selector
  • Up
  • Set up the Sub-theme

Book navigation

  • A Common Component Pattern
  • Create a Landing page Content Type
  • Set Up Your Toolkit
  • Build a "Text with Media" Component
  • Theming
    • Set up the Sub-theme
    • Add Sub-theme Templates
Powered by Drupal