How Dose is built
Every page of a Dose store is built from the same three parts. Knowing them makes the theme editor, and these pages, easier to use.
| Part | What it is | Example |
|---|---|---|
| Template | The layout of one kind of page | The product page |
| Section | A full-width part of a page | Text with panel |
| Block | A piece of content inside a section | Button |
Templates
Section titled “Templates”A template sets which sections a kind of page has. To edit one, choose it in the page list at the top of the theme editor.
| Template | What uses it |
|---|---|
| Home page | Your store’s front page |
| Product | Every product. See Product page |
| Collection | Every collection. See Collections and search |
| Collection list | The page that lists your collections |
| Search | Search results |
| Cart | The cart page. See Cart |
| Blog and blog post | Your blogs and their posts |
| Page | Pages you write in your Shopify admin. Dose adds two more page templates, contact and calculator |
| 404 and password | The “page not found” page, and the page visitors see while your store is closed |
See Blog, pages and contact for the last three rows.
The gift card page that a customer gets by email is part of the theme, but it has no settings in the theme editor. See Gift cards.
The header and footer
Section titled “The header and footer”The top and bottom of the store are the same on every page. They are two groups of sections:
- The header group holds the Announcement bar and the Header.
- The footer group holds the Footer.
You change them once and every page follows. See Header and footer.
Sections
Section titled “Sections”Dose has 20 sections, of two kinds.
- Seven sections you add. They are in the Add section list, and you can use them on most pages, as many times as you need: Text with panel, Product list, Image banner, Featured product, Related products, Custom section and Custom Liquid.
- Thirteen sections that come with a page. Each belongs to one template or to the header or footer, such as Product on the product page or Cart on the cart page. You can change their settings, but you can’t add them elsewhere.
All sections lists every one and where it is explained.
Blocks
Section titled “Blocks”A block is a piece of content inside a section. Dose has two kinds.
- Sixteen blocks you add, such as Heading, Fact row and Dose calculator. One block can work in several sections, and its settings are the same wherever you use it. Each has its own page under Blocks.
- Blocks that come with a section, such as the Price on the product page or the Product card in a product list. They work in that section only, and they are explained on that section’s page.
One block holds other blocks: the Panel takes Fact row and Button blocks inside it.
A section’s Add block list only shows the blocks that section accepts. The Custom section accepts every block you can add.
App blocks
Section titled “App blocks”An app from the Shopify App Store can add its own blocks, such as product reviews. They work in the sections listed under App blocks. Their settings and looks belong to the app.
Theme settings
Section titled “Theme settings”Some settings apply to the whole store: the logo, colors, fonts, the look of product cards and how the cart opens. They are under Theme settings in the theme editor. See Theme settings.
Each section has a Colors setting that picks one of the four color schemes. Blocks take the colors of the section they sit in.
What a new install contains
Section titled “What a new install contains”A new install comes with a home page, a product page and other templates already built from these parts, with example text that says what to write. See What a new install looks like.