I’m using dawn theme and you can see there are few sections in Template like Image banner, and Feature collection, I want to add more section as a default like blog post, slideshow, for my theme anyone please let me know in which file i have to set this default setting.
Topic summary
A user wants to add additional default sections (like blog posts and slideshow) to their Dawn theme template, which currently only shows sections like Image Banner and Featured Collection.
Solution provided:
- Edit the corresponding JSON template file in the theme’s
templatesfolder (e.g.,index.jsonfor the homepage) - Add new section blocks by copying the structure of existing sections
- Specify the section type (e.g.,
blog-postsorslideshow) - Ensure matching section files exist in the
sectionsfolder - Back up the theme before making changes
Resources shared:
- Shopify documentation on JSON templates and section data
- Shopify documentation on section groups
The discussion appears resolved with clear implementation steps provided.
https://shopify.dev/docs/storefronts/themes/architecture/templates/json-templates#section-data
https://shopify.dev/docs/storefronts/themes/architecture/section-groups#section-data
To add more default sections like Blog Posts or Slideshow to your Dawn theme template, you’ll need to edit the corresponding JSON template file located in your theme under template e.g. index.json for the homepage. Open index.json and add the section blocks you want by copying the structure of existing sections and specifying the type like blog-posts or type, slideshow. Make sure the matching section files exist in selection After saving, those sections will appear by default on that page. Always back up your theme before making changes.