At first, there is one Default template for every type of page. This means that changes made to a default template will apply to all pages that use that template.
To change the content or style of specific pages, you will need to create a new template and then assign that template to those pages in the Shopify Admin.
To show unique page content in the same template, use dynamic content in sections.
STEPS
In your theme editor (Customize):
Use the Templates selector to open the Products, Collections, Pages, Blogs, or Blog posts templates.
Click Create template.
Enter a Name for your new template and click Create template.
The new template will duplicate the settings of the original template.
Under Preview, click Change to preview different pages with this template.
If a warning icon (!) appears, you need to assign the template in your Shopify admin.
To assign a template, go to the page in the Shopify admin and use the Theme template menu to select a specific template.
Templates cannot be assigned on unpublished or trial themes. All changes to your templates will be saved but can only be assigned when purchased and published.
Click Save.
Assign templates from unpublished theme
Shopify only allows you to assign templates from your published theme. Shopify will not show templates from unpublished themes, unless they have the same name as the published theme’s templates.
As a workaround, you can create a duplicate template in the published theme and give it the same name as the template from the unpublished theme. This new template will show in the Shopify admin and assigning it will apply the template to both themes.
STEPS
Open the theme editor for your published theme (Customize).
Use the template selector to find your currently assigned template.
Click (+) Create template.
Enter the exact same Name as the template in your unpublished theme.
Select the current template that the new template should be based on.
This will duplicate everything in the current template and will ensure nothing changes in your current theme when you assign the new template.
Click Create template.
In your Shopify admin:
Go to the page you want to assign the template to.
Click the template dropdown and select your template.