Change the Layout on a Per-Page Basis for Drupal 8, Drupal 9

Last updated September 14, 2020
Site Building8.9.x/9.0.x

The Layout Builder module allows editors to create flexible layouts per content type, and per node. When configured to allow per-node layout customization, each node inherits the base layout for the content type. But editors can choose to further customize the layout on a node by node basis. This allows them to tailor the layout to better suit the specific node, and to have presentation flexibility that can be managed through Drupal's UI instead of in code. This also makes it harder to enforce design consistency, and future updates to the content type specific layout won't be applied to pages using a node specific layout.

In this tutorial we'll:

  • Learn how to enable node-specific layouts
  • Create a custom layout that is used on only one page

By the end of this tutorial you'll understand how to configure per-node-specific layouts.