Shopify platform
Shopify theme
A Shopify theme is the bundle of Liquid templates, sections, CSS, JavaScript, and settings that controls how a storefront looks and behaves. Themes are versioned separately from store data, so you can duplicate one, edit it safely, and publish when ready. Dawn is Shopify's free reference theme and the baseline most custom builds start from.
Why it matters
The theme is the only part of a Shopify store a merchant fully owns. Products, orders, and customers live in Shopify's data model, checkout is Shopify's, apps belong to their developers — the theme is the code that makes one store look and behave differently from the hundred thousand others on the same platform.
That ownership cuts both ways. A theme is also where performance problems, accessibility failures, and accumulated shortcuts collect, because it is the layer everyone edits. Most stores that feel slow or feel dated are describing their theme, not the platform.
The separation from store data is what makes the whole thing safe to work on: you can duplicate a live theme, rebuild half of it, and publish only when it is ready, with real products rendering the whole time.
How it works on Shopify
A theme is a directory with a fixed structure. layout holds the wrapper every page renders inside, templates map to page types, sections and snippets hold the reusable pieces, config stores merchant-facing settings, locales holds translated strings, and assets holds CSS, JavaScript, and images.
Since Online Store 2.0, templates are JSON files declaring which sections appear and in what order, rather than Liquid files hardcoding a layout. This is what lets merchants restructure a page in the theme editor instead of filing a ticket.
Dawn is Shopify's reference theme and the usual starting point for custom work — it is maintained, accessible, and fast by default, which is a better position to start from than a marketplace theme carrying features the store will never use.
Themes are versioned in the admin's theme library. The Shopify CLI connects a local repository to a development theme, so real version control and real branches are possible.
Common mistakes
- Editing the live theme. The admin lets you edit published code directly. It should not be used that way — duplicate, edit, preview, publish.
- Buying a heavy marketplace theme. A theme built to demo forty features ships the JavaScript for all forty. Most stores use six.
- Customising past the point of upgrade. Every unmerged change makes the next theme update harder. At some point the theme is a fork, and that should be a decision rather than a discovery.
- Letting apps edit theme code. Apps that inject snippets leave them behind on uninstall. Dead code accumulates and nobody knows which app owned it.
- No version control. A theme without git history has no way to answer what changed last Tuesday, and no way back.
When you need help
The signal is usually cumulative. Nobody rebuilds a theme because of one problem; they rebuild because page speed is bad, the editor is confusing for the marketing team, the codebase resists every change, and the underlying architecture predates the features the store now needs.
The other trigger is a theme that cannot be upgraded. If security or platform updates cannot be merged because the fork has drifted too far, that is a compounding cost, and the right time to address it is before it forces the issue.
Need this done on your store?
Shopify designRelated terms
- LiquidLiquid is the open-source template language Shopify uses to render storefronts. It sits between your theme files and store data, exposing objects such as `product` and `cart` through tags, filters, and objects that are evaluated server-side. Liquid is intentionally sandboxed — it cannot make network calls or run arbitrary code — which is why heavier logic belongs in an app or a Shopify Function.
- Sections and blocksSections and blocks are the units of a Shopify theme that merchants can rearrange in the theme editor without touching code. A section is a self-contained region of a page — a hero, a product grid — and blocks are the repeatable items inside it. Designing a theme as well-scoped sections is what makes a store editable by a marketing team instead of a developer.
- Online Store 2.0Online Store 2.0 is the 2021 overhaul of Shopify's theme architecture. It introduced sections on every page (not just the homepage), JSON templates, app blocks that merchants can position without editing code, and a much richer metafields system. A theme built before OS 2.0 cannot use these features, which is a common reason to rebuild rather than patch.