Skip to content

Custom liquid

This guide describes setting up your store's Custom liquid section. Use the section to add Liquid code, like app snippets, to create advanced customizations for your store. Refer to Shopify developers: Liquid reference. We recommend hiring an expert if you're not comfortable editing Liquid code.

In the following video, Liquid code is entered into a custom Liquid section textbox, and then displayed on a store's homepage as formatted text.

For general guidance with modifying sections, refer to Sections overview.

Set up a custom liquid section

To set up a custom liquid section:

  1. Go to Customize theme. At the top of the page, use the dropdown to select a template to contain the custom liquid section. For example, select the Home page template.

    Note

    The custom liquid section can be added into any page, except Checkout and Giftcard pages. Refer to Shopify help: Add a section.

  2. From the side menu, select Custom liquid.

    The custom liquid section menu in theme editor

  3. Select a section setting described in the following table.

Section setting nameDescription
HeadingUse the Heading box to enter text to display as a title inside the section.
LiquidUse the Liquid box to enter Liquid template language code, like an app snippet, to create advanced customizations.
Learn about LiquidFollow the link to Learn about Liquid at: Shopify developers: Liquid reference.
Full widthSelect the Full width checkbox to turn/ off spacing between your custom liquid content and the section edges. With this setting enabled, the full width of the section is used to display your custom liquid content.
Color > Color schemeUse the Color scheme dropdown to set the color scheme for the section to Primary, Secondary or Tertiary. Refer to Colors.
Theme settingsSelect Theme Settings to access additional settings for the section. Refer to Section theme settings menu.
Remove sectionSelect Remove section to delete the section from the current page template.