Add Sections to Narrative theme?

New Member
1 0 0

How do I add Sections to the Narrative theme on pages that aren't the Home Page? Adding Sections on the Home Page is really easy but it's not clear how to it on my features page or About Us. I know some web dev stuff so I can do some manual coding but I'd rather not. Thanks! 

0 Likes

check it :

https://gist.github.com/cweachock/7c75387a5790c6fd9c7ce9cbbb05c860

https://gist.github.com/shopifypartners/a4129b4f486adafc968772d87b5f797b

 

 

https://help.shopify.com/en/themes/development/sections

Shopify theme developer and customization

I Would like to add new functionality or customize an existing one, please hire me.
If helpful then please Like and Accept Solution .
Email: ashiquehussaincodediary@gmail.com

0 Likes
Highlighted
Shopify Partner
100 19 18

Hi @decoded 

 

If you want to add section in narrative or any theme page:

 

First of all  you need to go to edit code

after that edit code>sections and add new section i)give any name to the section for example in my case first-section.liquid

and paste this code: https://gist.github.com/shopifypartners/f625b7089a205f70f39e9d0cbc18b077 and save.

 

include your section on page template  by using this code:

{% include 'first-section.liquid' %}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes