---
title: "Managing your master templates"
date: "2017-12-20T10:42:37+00:00"
summary: "Learn to efficiently manage Site Studio master templates. Edit, disable, delete, set defaults, export, and lock templates with step-by-step instructions for seamless website customization and maintenance."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/site-studio/managing-your-master-templates"
id: "b5750f1a-5a23-418c-9ee9-c079adcdc9df"
---

Table of contents will be added

You can manage your existing Master templates including editing, disabling, disabling selection and deleting them.

Editing a master template
-------------------------

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to edit
3.  Click **Edit**
4.  On the next screen, edit the template
5.  Click **Save and continue**
6.  The changes you have made to your Master template will be applied.

![9c879ba2-edit-master-template.png](https://acquia.widen.net/content/a2252475-af31-4404-93e9-5d247acade72/web/9c879ba2-edit-master-template.png)

Disabling a master template
---------------------------

When you disable a Master template it will no longer be used. Any templates using the Master template will use the next available template. This will either be the Master template which has been set as default of your theme template.

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to disable
3.  Click **Disable**
4.  On the confirmation screen, click **Disable.**

![70b780bd-disable-master-template.png](https://acquia.widen.net/content/7baada87-acf4-42fb-a91f-e88ff8d327ef/web/70b780bd-disable-master-template.png)

Disabling selection of a master template
----------------------------------------

When you disable selection of a Master template it will no longer appear as an option to select on Content and View templates but it will continue to be used by templates where it was previously selected. Disable selection allows you to depreciate a template without it breaking instances where it's used currently.

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to disable selection
3.  Click **Disable selection**
4.  On the confirmation screen, click **Disable selection.**

![7792b0a8-disable-selection-master-template.png](https://acquia.widen.net/content/dd84a203-5144-4e16-853d-d100b31af639/web/7792b0a8-disable-selection-master-template.png)

Deleting a master template
--------------------------

When you delete a Master template it will permanently remove the files and configuration. Any templates using the Master template will use the next available template. This will either be the Master template which has been set as the default of your theme template.

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to delete
3.  Click **Delete**
4.  On the confirmation screen, click **Delete.**

![8dd0eb84-delete-master-template.png](https://acquia.widen.net/content/216c7861-856f-447c-925d-62ff95250792/web/8dd0eb84-delete-master-template.png)

Setting a Master template as default
------------------------------------

You can select a Master template to be the default template used by your website. When set as default all content entities and other entities including login, search results, default 404 and 403 pages etc will use the Master template. This is useful for providing a Master template for these non content entities.

Important

The only exceptions where the Master template will not be used is if you have selected a more specific Master template to be used by a Content template or you have manually coded logic into your theme to use a different Master template.

To set a Master template as the default:

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to set as the default
3.  Click **Set as default**
4.  On the confirmation screen, click **Set as default.**

![670b326b-set-as-default-master-template.png](https://acquia.widen.net/content/e6aebf4e-ad70-4d43-b563-020267101562/web/670b326b-set-as-default-master-template.png)

Export a master template
------------------------

You can export a master template to use on another website.

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to export
3.  Click **Export package as file**

![6c2d619d-export-master-template.png](https://acquia.widen.net/content/e4e4bd21-1d7f-4e71-9fcc-812173b295ed/web/6c2d619d-export-master-template.png)

Lock master template
--------------------

You can lock a master template to prevent it being overwritten when a package file containing a master template with the same machine name is imported.

1.  Navigate to Site Studio > Templates > **Master templates**
2.  Find the Master template you want to lock
3.  Click **Lock entity.**

![fd67c9ca-lock-master-template.png](https://acquia.widen.net/content/16fe40e3-1423-400e-827d-8116ac9a01f6/web/fd67c9ca-lock-master-template.png)