Subtheme a basic block in layout builder

Subtheme a Basic block in Layout Builder

  1. In Layout Builder, add a Basic Block to a Section and name the title twig_my_template_name. Replace my_template_name with your preferred name in this instance.
  2. This will create a theme suggestion for the block called block--twig-my-template-name. By default the title will still display, so if needed you can uncheck the Display Title box to hide the title.
  3. If you do want the title to display, you can use a colon after the template name. twig_my_template_name: My Title becomes My Title when displayed in the block title.
  4. With the block--twig-my-template-name created, you can now proceed to subtheme this block.