Theme architecture
Understand every authored folder and how layouts, templates, sections, blocks and assets work together.
Theme folder structure
See the complete project tree and learn what belongs in every authored folder.
How layouts, templates, sections and blocks build a page
Understand the page hierarchy and which layer owns each kind of design decision.
Layouts
Build the shared outer frame used by storefront templates.
Retail templates
Define each route's starting section tree and values with JSON.
Sections
Keep a section's HTML, CSS, Liquid, controls and local blocks understandable in one file.
Reusable and section-local blocks
Choose the correct block kind and preserve nesting rules and static locks.
Shared control packs
Reuse right-panel setting groups without moving visible design out of its owner.
Snippets and fragments
Use small Liquid helpers and separately requested storefront pieces correctly.
Assets and custom JavaScript
Organize shared CSS, images, third-party browser libraries and advanced interactions.
Storefront locales
Organize shopper-facing translated text without changing platform business rules.