Customizing the available regions in your theme is likely one of the first things you'll do when creating your own themes.

Doing so gives you complete control over where content is displayed on the page, and the markup involved. Adding regions to a theme is a two-step process that involves editing your theme's .info.yml file and updating your page.html.twig file.

In this tutorial, we need understand:

  • Declare one or more new regions to Drupal
  • Display the content of those regions in our theme

results matching ""

    No results matching ""