Skip to content
Maison

Search the documentation

Type a setting, a section or a question.

Sections

Custom Liquid

Insert a Liquid or HTML snippet provided by an app or a developer.

On this page

The Custom Liquid section lets you insert Liquid code, HTML, or a snippet provided by an app, without editing the theme files.

Name in the editor
Custom Liquid (FR: Code Liquid personnalisé)
Where to add it
Any template, plus the header and footer

Settings

SettingValuesWhat it does
Liquid codeFR: Code LiquidLiquid codeAdd app snippets or other code to create advanced customizations. Learn more
Accessible labelFR: Libellé accessibleTextNames this area for screen readers and turns it into a landmark they can jump to. Leave it empty for decorative content and app embeds.
WidthFR: Largeur
  • Page
  • Narrow
  • Full width
Default: Page
—
Use theme text stylesFR: Utiliser les styles de texte du thèmeCheckboxDefault: OnApplies the theme's headings, lists and links to the content. Turn it off when an app brings its own styles.
Color schemeFR: Palette de couleursColor schemeDefault: Scheme 1—

Best practices

  • Accessible label: if the content is important (a form, a size chart), give it a name; it becomes a landmark that screen readers can jump to directly. Leave it empty for decorative content or an app integration.
  • Use theme text styles: leave it on so your headings, lists, and links match the theme. Turn it off if the app brings its own styles.
  • Width: Page aligns the content with the page, Narrow limits it to a reading column, and Full width runs from one edge of the screen to the other.

Empty section

Until code is entered, the section shows "Nothing here yet. Add Liquid code in the theme editor.", including on your online store. Remove the section if you're not using it.

A Custom Liquid block also exists for inserting code inside a section, for example on the product page. See Content blocks.

Was this page helpful?

Maison 1.0.0