Custom Liquid

circle-exclamation

With the Custom Liquid block, you can extend your theme by adding snippets of Liquid or HTML code as a block or section in the theme editor.

The Custom Liquid block provides a reliable and safer option compared to directly editing your theme code. It will help keep your theme copy eligible for updates and avoid conflicts with the original theme code.

Add custom Liquid block


Under Product overview, click (+) Add block and select Custom Liquid. Use the drag-and-drop handles ⋮⋮ to re-order blocks. Click the block to start customizing.

circle-exclamation

Click Custom Liquid block to find settings

Setting
Description

Custom Liquid

Add custom Liquid code for apps or custom content.

See Shopify's Liquid reference guidearrow-up-right and Liquid code examplesarrow-up-right to learn more.

Add bottom padding


Use Bottom padding to adjust the layout of the product overview section by adding spacing between blocks.

Click Custom Liquid block to find settings

Setting
Description
Options

Bottom padding

Add spacing below the block

1 - 50px

Default: 36px

Last updated