Skip to content

Custom Liquid

Custom Liquid lets you add your own code to a page: an app’s snippet, a tracking tag or a small piece of markup. It is a section, and also a block that you can add in the product page, the featured product, pages, the blog, blog posts and the footer.

Setting What it does Starts as
Liquid code Add app snippets or other code to create advanced customizations. Empty
Colors The section’s color scheme. The block has no colors of its own Scheme 1 (white)

The section also has the four padding settings. See Settings every section has.

A Custom Liquid section or block shows nothing until it has code.

Dose support does not cover code that you add, in Custom Liquid or in the theme’s files. We help with the theme as it is shipped. If you need custom code, consider hiring a Shopify Partner. See the support policy.

To learn the Liquid language, read Shopify’s Liquid reference.

  1. Duplicate your theme, as above.
  2. In the theme editor of the copy, click Add section and choose Custom Liquid. Or, inside a section that accepts it, click Add block and choose Custom Liquid.
  3. Paste your code into Liquid code.
  4. Check the preview, then click Save.