For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Liquid

Add your own Liquid, HTML or app code to any page, header or footer without editing the theme files.

The Custom Liquid section lets you paste your own code into a page. Use it for app snippets an app asks you to install, embed codes (such as a booking widget or a form), small pieces of custom HTML, or advanced customizations written in Liquid.

1. How to add the section

In the theme editor, click Add section and choose Custom Liquid (in the Layout category).

You can add this section to page templates and also to the Header and Footer areas, for example to place a code snippet on every page of your store.

2. Section settings

  • Custom Liquid: paste your code here. You can use Liquid, HTML, CSS (inside <style> tags) and JavaScript (inside <script> tags). The default code simply shows your store name, so you can replace it.

  • Color scheme: the background and text colors behind your code.

  • Section width: Page width, Full width padded or Full width.

Note: Padding, section width, section header and color settings work the same in every section. See Common settings.

3. Block settings

This section has no blocks.

Note: If the code has a Liquid error, the theme editor shows a message and won't save it until the error is fixed.