---
title: "Use a master layout"
slug: "use-a-master-layout"
abstract: "How to create a layout that can be applied to multiple pages."
---
# Use a master layout

> [!note]
> To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through [user group policies](https://doc.sitecore.com/ch/en/users/content-hub/user-group-policies.html "User group policies").

A master layout lets you apply one layout to multiple pages. This helps to ensure consistency across similar pages, such as those relating to products. Every page is assigned a master layout during the creation process. You can change which layout is applied to a page as needed.

> [!note]
> You can import and export master layouts using the [import/export functionality](https://doc.sitecore.com/ch/en/users/content-hub/import-and-export.html "Import and export").

> [!warning]
> Changing the master layout can result in the loss of page components if the new layout doesn't have the same zones, and these components cannot be recovered.

## Create a master layout

To create a master layout:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Master layouts**.
3. On the **Master layouts** page, click **\+ Master layout**.
4. In the **Master layout** dialog, in the **Name** field, enter a name for the master layout; provide a description if required, and click **Save**. The master layout details page opens, letting you customize the layout as needed.
5. Click **Publish** to enable the master layout.

## Configure a master layout

A master layout affects the header, footer, sidebar, and navigation bar of any page it is applied to. You can configure these settings for each master layout.

To configure a master layout:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Master layouts**.
3. On the **Master layouts** page, next to the layout you want to configure, click **Edit** :mdiPencilOutline:.
4. In the upper-right corner of the application window, click **Layout settings**.
5. In the **Layout settings** dialog, use the switches to choose whether to include the following page elements in the master layout:
    - **Navigation bar** - adds a navigation bar to the master layout. This is turned on by default.
    - **Header** - adds a header section to the master layout. This is turned on by default.
    - **Sidebar** - adds a sidebar to the master layout. This is turned off by default.
    - **Footer** - adds a footer section to the master layout. This is turned off by default.
6. If you enabled the sidebar, select a placement option from the list provided:

    | Option | Placement |
    | --- | --- |
    | **Left** | ![left sidebar](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/left_sidebar.png) |
    | **Left (wide)** | ![left wide sidebar](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/left_wide_sidebar.png) |
    | **Right** | ![right sidebar](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/right_sidebar.png) |
    | **Right (wide)** | ![right wide sidebar](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/right_wide_sidebar.png) |

7. On the master layout detail page, click **Add** ![plus icon with green background.png](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/plus.png) and then select **Zone** or **Row**.
8. If you selected **Zone**, enter a name in the **Name** field and then click **Save**.
9. Repeat steps 7 and 8 to add all the rows and zones needed to build the page.
10. To delete a zone, click **Delete zone** :mdiTrashCanOutline:.
11. To move a zone, click :mdiDrag: and drag it to the new location.
12. Click **Publish** to enable the master layout.

## Assign a master layout to a page

To assign a master layout to a page:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Pages**.
3. In the left pane, select the page you want to assign a layout to.
4. On the **Info** tab, click **Edit** :mdiPencilOutline:.
5. In the **Master layout** field, click **Add** :mdiPlus:.
6. In the **Master layout** dialog box, clear the check box for the currently selected master layout, select the check box for the layout you want to apply, and then click **OK**.