Skip to content

Designing Shopify Liquid sections merchants can reuse

Design reusable storefront sections that merchants can rearrange in the theme editor, with fast markup and useful defaults.

Shopify, Liquid, HTML, CSS, JavaScript

Three modular storefront panels and a coral-red sculptural product.

A custom Shopify section is successful when a merchant can build a new campaign with it after launch. A product feature, comparison strip or editorial grid should still make sense when the products change, the campaign copy doubles in length or the first image is missing. Those cases should be part of the initial design.

Decide which parts a merchant should control

Use a Liquid section for a reusable module and blocks for the items a merchant needs to reorder. A product storytelling section might expose the heading, background treatment and image as section settings, then use blocks for benefits or supporting products. Use a preset so the section can be added where the theme supports it. Give settings clear labels and set defaults that produce a usable layout right away. See Shopify’s section architecture and the section schema reference.

Render the useful content first

Render product names, prices and navigation in Liquid and HTML. Use CSS for layout and JavaScript for behavior such as updating an interactive filter or advancing a slider. Size images for the space they occupy, and keep the first screen light enough to load well on a phone. When a section relies on JavaScript, test adding it twice and reordering it in the theme editor so each instance can initialize correctly. See Shopify’s theme performance guidance.

Review with real merchandising scenarios

Test on an unpublished theme with a long collection title, a sold-out item and an image of a different aspect ratio. Check that keyboard focus moves through the visible controls in order, and that any decorative animation can be reduced. Finally, ask a merchant to create a landing page with the section while you watch. The settings they understand immediately are usually the ones worth keeping. Rename ambiguous controls and remove choices that invite inconsistent layouts.

Related service Shopify Theme Development.