Custom Liquid
Published 19 minutes ago
The Custom Liquid section lets you paste code into a page: an app's install snippet, an embed code from another service, or Liquid written by a developer. It's the place for small customizations that aren't covered by Atelier's other sections or by app blocks.
Add the section
- In your Shopify admin, go to Online Store > Themes > Customize.
- Click Add section and choose Custom Liquid.
- Paste your code into Liquid code.
Settings
| Setting | What it does |
|---|---|
| Liquid code | The code to add. Accepts HTML and Liquid. Add app snippets or other Liquid code to create advanced customizations. |
| Color scheme | The background and text colors around your code. |
| Full width | Lets the content run to the edges of the screen instead of the page margins. |
| Add top and bottom spacing | Adds the theme's usual space above and below the section. Turn off for content that should sit flush against neighboring sections. |
Tips
- Prefer an app's own blocks or app embeds (the App embeds icon in the theme editor sidebar) when the app offers them. They're easier to update than pasted code.
- Test pasted code on an unpublished copy of your theme first. Code that has an error can break the layout of the page.
- Custom Liquid can also be added to the header and footer areas, so a snippet can appear on every page.
- Keep a copy of any code you paste. It isn't carried over automatically if you switch themes.