Add the page.studio template to themes

By default, the page.studio template is inserted into your current theme. This page template overrides most of your theme's styles, so the page you see within the editor closely resembles the end result.

Follow the steps below if you'd like to use this template with other themes.

1. Starting from your Shopify admin dashboard, click on Online Store, then click on Themes.

2. Find the theme you want to edit, click the Actions button, then click Edit code.

3. On the left side, under the Templates heading, click on Add a new template.

4. Create the template using the following format.

5. Replace all of the code within the new template with the following snippet.

<link href="//studios.cdn.theshoppad.net/pagestudio/blocks.css?v={{ page.metafields.global.version | default: 3 }}&shop={{ shop.permanent_domain }}" rel="stylesheet" type="text/css"/>
<script src="//studios.cdn.theshoppad.net/pagestudio/pagestudio.dist.js?v={{ page.metafields.global.version | default: 3 }}"></script>
<div class="studioengine">{{ page.content }}</div>

6. Save your changes.

Now you'll be able to select this template from the Page Studio dashboard, and use it to construct beautiful pages!