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
(Show larger)Marked in the picture
The numbers in the computer picture show where each setting appears.
- 1 = Liquid code
Example from the demo store Nordform.
Where do I find it?
- Online Store
- Themes
- Customize
- Choose the page at the top: “Pages › Default page”
- “Template” area in the sidebar
- Add section
- Page templates
- 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.
