In this post we will discuss how we can set master page for a particular page in SharePoint Online. This will work also for SharePoint 2013 or SharePoint 2016. Recently we were working in a public facing site where we have created our own custom master page and we applied it through out the site. If you are new to master page then you can see an article on step by step tutorial on how to create a new custom master page by using an existing master page in SharePoint online. Also if you want to create custom master page using visual studio 2013 for SharePoint 2013, you can follow this article.
Also you can read: Steps to create master page using design manager in SharePoint 2013
By default when you change the master page from Site Settings -> Master Page which is under Look and Feel. The master page will be applied to the whole site.
But according to one of my requirement in one of the page we need to set the default seattle master page.
For this we have to change the master page in the particular page by using the help of SharePoint designer 2013.
Open the SharePoint site using SharePoint designer 2013.
Let us say the particular page presented in the Site Pages document library then click on Site Pages under Site Objects in SharePoint designer. And then right click on the particular page and click on Edit File in Advance Mode.
By default when you open any site you can see by default the master page file path will be like below:
Now let us say if you want to set the master page as seattle maste page then modify the tag like below:
Then save the page and refresh the page in the browser. You will see the particular page will use the seattle.master page.
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.