Subtheme a Basic block in Layout Builder
- In Layout Builder, add a Basic Block to a Section and name the title
twig_my_template_name. Replacemy_template_namewith your preferred name in this instance. - 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. - If you do want the title to display, you can use a colon after the template name.
twig_my_template_name: My TitlebecomesMy Titlewhen displayed in the block title. - With the
block--twig-my-template-namecreated, you can now proceed to subtheme this block.