# Issues with Shopify themes when using PageFly

### Overview

While using PageFly, you may encounter some conflicts with your current Shopify theme especially if your theme has a highly customized cart functionality or if you're using a theme known to have compatibility issues with PageFly.

In this article, you will learn about [all related issues to Shopify themes](https://help.pagefly.io/manual/all-about-issues-of-using-shopify-themes-for-pagefly-pages/) for PageFly pages.

### How To Handle PageFly Pages’ Related Issues To Shopify Themes

#### Cart Is Not Updated Automatically

Basically, PageFly works well with Shopify themes. However, some themes with specific cart mechanisms can result in conflict with PageFly, leading to the cart drawer not updating automatically.

You can check[this article](https://help.pagefly.io/manual/cart-drawer-does-not-automatically-update/) for more details about the issue.

#### Set PageFly Pages Use The New Theme

Once you publish your theme or migrate the PageFly content from an old theme to a new one, PageFly pages will automatically apply that theme.

In some cases, some PageFly pages haven't been synced, so you need to check again and republish these pages.

Here’s how to check it:

![](/files/bTOeOKr1tBtnMyhAbG4W)

For example, if your store has too many pages that it might reach Shopify API's limitation, some pages might not be synced properly at one time, therefore, you should double-check all your PageFly pages.

### Use Cases

* Make section full width: In some cases, the theme conflict can cause sections on PageFly editor not looking full width on the live view. To fix this, you can try to use one of these codes:
* Blank space on top of the page: Sometimes, you may face this issue because of the theme conflict. To fix this, you can try to use this code:

```css
.main-content {
  padding-top: 0px !important;
  margin-top: 0px !important;
}
```

### Tips And Best Practice

* You can enable the “**Override theme styling**” option in the “**Styling**” tab to keep your page look exactly like the page editor on live view.

![](/files/75Zh7fkvtsKGi32mHJk9)

### Frequently Asked Questions

**1. Can I use 2 themes for PageFly pages?**

The answer is no, you cannot. You can use only 1 theme for PageFly pages.

**2. Is it possible to preview the unpublished theme for PageFly pages?**

It's impossible. PageFly pages only work with one published theme, so you have to publish the theme you want.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pagefly.io/faq-and-troubleshooting/faqs/all-about-issues-of-using-shopify-themes-for-pagefly-pages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
