Creating Layout overrides

Last updated on
11 March 2021

This documentation needs work. See "Help improve this page" in the sidebar.

This page assumes familiarity with the Layout Default concepts in Creating Layout Defaults.

Layout Overrides in Layout Builder

Layout Defaults are layouts that apply to all nodes/entities of a given content type/bundle. Layout Overrides make it possible to override the Layout Default and create a custom layout for that entity. Once a Layout is overridden on an entity, that entity will not be impacted by changes to Layout Defaults.

Layout Overrides are not enabled by default. When you enable Layout Builder for a content type/bundle in the default view mode, an additional option is available: "Allow each content item to have its layout customized." Selecting this option will enable Layout Overrides for that content type/bundle.

Checkbox for allow each item to have its layout customized

When layout overrides are enabled for a content type, the local tasks for nodes of that type will include a "Layout" tab, where Layout Overrides can be created and edited.

New layout task added to local tasks

Examples

Creating a Layout Override for an Article Node.

Clicking the "Layout" local task will take you to the Layout Builder user interface (UI). Any changes made on this layout will only impact the specific node. Once the Layout Override is saved, the node will no longer be impacted by changes to the Layout Defaults for its content type.

New layout task added to local tasks

The "Discard changes" button will discard all in-progress changes in the override and replace with the layout of the most-recently-saved version of the Layout Override.

The "Revert to defaults" button removes the override, reverting the node to use the Layout Defaults.

Help improve this page

Page status: Needs work

You can: