# 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 (opens new window). We recommend hiring an expert if you’re not comfortable editing Liquid code.

The custom liquid section menu in theme editor

The previous image shows a Custom liquid section in Theme editor with the following settings:

  • On the left, the section menu is displayed.
  • Liquid code is entered into the Liquid textbox.
  • On the right, the code is displayed on the store’s homepage as the formatted text Subscribe to our newsletter for a 15 % DISCOUNT !.

For general guidance with modifying sections, refer to Sections overview and Shopify help: Sections and blocks (opens new window)

# 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 that contains a custom liquid section.

    Note

    The custom liquid section can be added into any page, except Checkout and Giftcard pages. To add a custom liquid section into the current page, select Add section > Custom liquid. Refer to Shopify help: Add a section (opens new window).

  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 name Description
Heading In the Heading box, enter text to display as a title inside the section.
Liquid In the Liquid box, enter Liquid template language code.
Learn about Liquid Follow the link to Learn about Liquid at: Shopify developers: Liquid reference (opens new window)
Full width Select the Full width checkbox to turn on/ off spacing between your custom liquid content and the section’s edges. With this setting enabled, the full width of the section is used to display your custom liquid content.
Color > Color scheme Use the Color scheme dropdown to set the color scheme for the section to Primary, Secondary, Tertiary, or Quaternary. Refer to Colors.
Theme settings Select Theme Settings to access additional settings for the section. Refer to Section theme settings menu.
Remove section Select Remove section to delete the section from the current page template.