Hello, I am using Dawn Theme. I have used the Page template for FAQ section. Also I have a page named “Benefits”, in which I use the Page template as well. But every time I make changes on FAQ page, the same appears on Benefits Page.
How do I create a page for every section of them. I have tried creating a new template in the Edit code IDE.I called it page_sub but it does not appear on my list of choices when customizing my online store.
I have included some screenshots for better clarity, can you please help?
The last image is the FAQ page but it includes images that are supposed to be on the other page as well.
Howcan I solve this problem?
In the Dawn theme, creating a separate page template for each section can be achieved by following these steps:
-
Access the theme editor: Go to your Shopify admin dashboard and navigate to “Online Store” → “Themes”. Find the Dawn theme and click on the “Actions” dropdown, then select “Edit code”.
-
Create a new template file: In the theme editor, locate the “Templates” folder and click on it to expand the options. Right-click on the “Add a new template” option and select “New template”. Name your new template, for example, “page_sub” and click “Create template”.
-
Customize the new template: Open the newly created “page_sub.liquid” file in the code editor. You can now add your custom code to create a unique page layout for this template. Ensure that you include the necessary HTML structure, CSS styling, and any liquid tags or Shopify-specific code that you require.
-
Save the changes: Once you have made the necessary modifications to the “page_sub.liquid” file, click on the “Save” button to save your changes.
-
Assign the template to a page: To assign the new template to a specific page, go back to the Shopify admin dashboard and navigate to “Online Store” → “Pages”. Select the page you want to customize (e.g., “Benefits”) or create a new page.
-
Choose the new template: In the page editor, locate the “Template” dropdown under the “Template” section on the right-hand side. You should see your newly created template, “page_sub,” as an option in the dropdown. Select it to assign the template to the page.