Custom Liquid
Advanced
With the Custom Liquid setting, 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 section
In your Shopify admin:
Click Duplicate on your current theme.
Click Customize on the duplicated, unpublished theme version.
In your theme editor:
Click (+) Add section and select Custom Liquid. Use the drag-and-drop handles ⋮⋮ to re-order blocks. Click the section to start customizing.
Add anchor links to sections
To link to a specific section on a page, you can use a Custom Liquid section with some HTML as a workaround. The HTML will include a special id property that will allow you to link directly to that section.
Once set up, the Custom Liquid section will not affect the page layout.
\
Related links
Last updated

