Remove embedded Klaviyo form from Shopify footer (all themes)
To remove an embedded Klaviyo form from the footer of your site, follow the steps below. These instructions apply to both Shopify vintage themes and Shopify 2.0 themes.
- Navigate to your Shopify admin.
- Go to Online Store > Themes.
- Click Actions > Edit code.
- Open your footer.liquid theme file.
- Locate the area in your footer where the form is embedded.
In the example below, the signup form is embedded above the site's copyright information. - Delete the form embed code:
<div class = “klaviyo-form-XYZ”></div>
. - Click Save.
Remove embedded Klaviyo form from Shopify non-footer (vintage themes)
To remove an embedded Klaviyo form from your Shopify site (using a vintage theme) that lives anywhere other than your site footer, follow these steps:
- Navigate to your Shopify admin.
- Go to Online Store > Themes.
- Click Customize.
- On the left-hand menu bar, select either Custom Content or Custom HTML (whichever appears based on your vintage theme).
- Within the section, you should see the form embed code:
<div class = “klaviyo-form-XYZ”></div>
. - Click Remove section.
Remove embedded Klaviyo form from Shopify non-footer (2.0 themes)
To remove an embedded Klaviyo form from your Shopify site (using a 2.0 theme) that lives anywhere other than your site footer, follow these steps:
- Navigate to your Shopify admin.
- Go to Online Store > Themes.
- Click Customize.
- Select the section that appears within the left-hand menu bar that says Klaviyo Embedded Form.
This section should contain the ID of the embedded form. - Click Remove Section.
Remove embedded Klaviyo form from Shopify password page (all themes)
To remove an embedded Klaviyo form from your site's password page, follow the steps below. These instructions apply to both Shopify vintage themes and Shopify 2.0 themes.
- Navigate to your Shopify admin.
- Go to Online Store > Themes.
- Click Actions > Edit code.
- For vintage themes, open your password-content.liquid theme file. For 2.0 themes, open your password.liquid file.
- Locate and remove the Klaviyo embedded form code:
<div class = “klaviyo-form-XYZ”></div>
. - (Optional) If you had commented out the Shopify sign-up form from the page to display the Klaviyo embedded form instead, you will likely want to add the Shopify form back. You can do so by removing the comments that wrap the default Shopify signup form:
- Remove
{% comment %}
, which starts the tag. - Remove
{% endcomment %}
, which closes the tag.
- Remove
- Click Save.