Merchant guide · Sections

Custom Liquid

A section of its own with a code field for Liquid and HTML, available on all templates – meant for code snippets from apps or agencies that expect a section.

What it looks like

Computer
“Custom Liquid” section on a phone. (Show larger)
Phone

Marked in the picture

The numbers in the computer picture show where each setting appears.

  1. 1 = Liquid code

Example from the demo store Nordform.

Where do I find it?

  1. Online Store
  2. Themes
  3. Customize
  4. Choose the page at the top: “Pages › Default page”
  5. “Template” area in the sidebar
  6. Add section
  7. Page templates
  8. Custom Liquid

How to set it up

Custom Liquid

Shown with default values. Fields that only appear after another setting is changed are folded away below.

Marker 1 Liquid code

For code from apps or agencies. Faulty code can break the page.

Design

Color scheme
Default: Scheme 1
Spacing above and below
Default: Medium
4 options
  • None
  • Small
  • Medium
  • Large
Width
Default: Page width
3 options
  • Page width
  • Full width
  • Narrow (reading width)
Line above section
Default: Off
Anchor
empty

Name without # or spaces, e.g. shipping. A button or link to #shipping jumps here.

Tips

  • To add code inside an existing section, use the Custom Liquid block of the same name.
  • Faulty code can break the page; check the page in the preview after pasting.
  • Code in the “Custom Liquid” block or section loads on every page that contains it – that costs loading time.

Apps and custom code

Enlarged picture