# Can't create theme.pagefly.liquid

### Overview

In this article, you will learn [how to fix the issue “Failed to create a simplified layout at Shopify”.](https://help.pagefly.io/manual/cant-create-theme-pagefly-liquid/)

This error happens when PageFly cannot create a theme.pagefly.liquid file inside the theme folder of the Shopify theme.

The reason for this error is that your network is running unstably or has failed.

### How To Fix Issue Can’t Create Theme.Pagefly.Liquid

#### Step 1: Access Your Shopify Theme

After logging into your Shopify store, go to Online Store > Themes > 3 dots > Edit code as seen in the image below.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-43abdb77aa18e600c00136df6dd5926212ceebe2%2Fimage2-4.png?alt=media)

#### Step 2: Add A New Layout Of The Layout File

In the Layout file, click Add a new layout option like the image below.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-dc8cca4eed882675abe70a90ed4d4cb716e41966%2Fimage5-4.png?alt=media)

* In the Duplicate file field, select theme.pagefly.liquid

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-330046cf8f5095f4a2c998fd9b9624e89b9083cf%2Fimage1-6.png?alt=media)

* In the File name field, type in the name you want for this new layout. For example, “**test**”

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-b81abfef6e9fac2ded5a133bcc866eb537568788%2Fimage3-4.png?alt=media)

* Click Done

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-5207862b47537f5d26df87865f12bfc04871e57a%2Fimage6-1.png?alt=media)

There is an ‘Add a new layout’ box opened after you choose this option.

When you finish, you will receive a notification “**Asset created**”

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-8e539418dd0fbee4b0a1bdc71dbed5fa8d75caca%2Fimage4-5.png?alt=media)

### Frequently Asked Questions

#### What Is The ‘Failed To Create A Simplified Layout At Shopify’ Error?

This error occurs when PageFly cannot create a theme.pagefly.liquid file in the Shopify theme folder due to an unstable network or failure.

#### How Do I Access My Shopify Theme To Fix The Issue ‘Failed To Create A Simplified Layout At Shopify’?

Log into your Shopify store, navigate to Online Store > Themes > Actions > Edit code.

### Additional Resources

* [How to Edit PageFly HTML Liquid Element?](https://help.pagefly.io/manual/html-liquid-element/)
* [Page not fully displayed in theme preview mode](https://help.pagefly.io/manual/page-not-fully-displayed-in-theme-preview-mode/)
* [Shopify Code Editor: A Higher Level of Customization](https://pagefly.io/blogs/shopify/shopify-code-editor)
