How to apply a section to a specific page not all default pages

Solved

How to apply a section to a specific page not all default pages

stark_k5
Visitor
3 0 0

Screenshot 2024-08-17 at 17.09.58.pngScreenshot 2024-08-17 at 17.08.54.png

 

In picture 1, i added a section to my Shopify about us page. And i noticed the section was added to all pages. I see someone said create a template from the middle top drop down menu. I created a who-we-are template, how do i apply to the page, and successfully navigate to this page from about us link in menu. Also, how to delete all these useless pages.

Accepted Solution (1)

Priyanka_
Shopify Partner
83 15 22

This is an accepted solution.

Hi @stark_k5 

To apply the new template to your page, follow these steps:

1. Go to Online Store > Pages.
step-1.png
2. Click on the About Us page.
3. In the bottom-right corner, select "Theme template" and pick "who-we-are" (the template you created).
step-2.png
4. Save your changes.


You can remove any template from your theme files, but exercise caution not to delete the default templates such as page.json, contact.json, or blog.json.

To delete a custom template from your theme, follow these steps:
1. Go to Online Store > Themes.
2. Click on Actions > Edit code.
step-3.png
3. In the code editor, locate the "Templates" folder in the sidebar.
step-4.png
4. Inside the Templates folder, find files named like "page.custom.liquid" or "page.your-template-name.liquid," which represent custom page templates.
5. Delete the desired file.

Was I helpful? 

Buy me a coffee 



If I managed to help you then, don't forget to Like it and Mark it as Solution!

View solution in original post

Replies 2 (2)

Priyanka_
Shopify Partner
83 15 22

This is an accepted solution.

Hi @stark_k5 

To apply the new template to your page, follow these steps:

1. Go to Online Store > Pages.
step-1.png
2. Click on the About Us page.
3. In the bottom-right corner, select "Theme template" and pick "who-we-are" (the template you created).
step-2.png
4. Save your changes.


You can remove any template from your theme files, but exercise caution not to delete the default templates such as page.json, contact.json, or blog.json.

To delete a custom template from your theme, follow these steps:
1. Go to Online Store > Themes.
2. Click on Actions > Edit code.
step-3.png
3. In the code editor, locate the "Templates" folder in the sidebar.
step-4.png
4. Inside the Templates folder, find files named like "page.custom.liquid" or "page.your-template-name.liquid," which represent custom page templates.
5. Delete the desired file.

Was I helpful? 

Buy me a coffee 



If I managed to help you then, don't forget to Like it and Mark it as Solution!

stark_k5
Visitor
3 0 0

Thank you so much! It solved my problem!