Narrative Theme - Sections for page

4 1 2

Hi everyone

I've been trying to figure out how to add sections to pages

I've been trying to do this by setting up at template for a page (page.index.liquid) and paste in: {{ content_for_page_index }}

Just like in index.liquid (which is the template for the home page)

Then in settings_data.json (config file, that has the settings you make in the theme editor) I copied everything (should potentially have done it with the default home page and not the my home page) and edited the blocks (just said plus 1 on all so they were something different from the home page blocks), and all (obvi not for the home page stuff, only my template) the {{ content_for_index }} too {{ content_for_page_index }}, at some point I managed to get the section editor to appear on the page (after some more edits not sure exactly what), but it wasn't working.

But I don't seem to be allowed to save the file with the edits I've mentioned.


My shop is Shopify shop 

If anyone ask I'll post the file, but decided not to since its 1500-2000 lines

Rovox Web Design
Shopify Partner
1124 185 464

This is an accepted solution.

it is easy. Make a section file in sections named for example my-section.
Then in the file from where you want to call section, just put this code


{% section 'my-section' %}

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On :
4 1 2

This is an accepted solution.

Figured out what you meant.


For anyone else, if you make a template and then paste in {% section '[]' %} ([] being the name of the section don't paste that exact line) this will allow you to have sections, you will have to do that for every section you want and then edit it in theme editor, but it works.

Rovox Web Design
New Member
1 0 0


I've been having the exact same issue at the moment. I'm not an expert coder so if you could post the code that you use that would really help me out.