locked
How to change the master file for a site collection site RRS feed

  • Question

  • A portal site is auto-created when Sharepoint 2013 is installed.  For the portal site, if you go to Site Settings, there is a "Master Page" link under the Look and Feel section.  From that page, you can select a new master page.  All is good for the portal site. In the Central Administration page I went to the "Create site collections" page... From there I created a subsite (http://myportal/sites/subsite).  When I went to that site, I could tell that it did not inherit the master page that the portal site uses (That was verified when I opened the subsite in Sharepoint Designer and the portal's master page was not listed).  When I went to Site Settings, I did not have a "Master Page" link under the Look and Feel section.   So......  this begs two questions:

    1) If I create a new master page in Sharepoint Designer, how can I assign that new master page to my new subsite?

    2) How can I have my site collection subsites inherit the master page from my portal site?

    Wednesday, September 25, 2013 6:16 PM

Answers

All replies

  • Site collections are independent of each other. This means http://myportal and http://myportal/sites/subsite are two different entities that have no dependencies other than living in the same web application. It is expected the new site won't share look and feel unless you used the same site collection template.

    The new site collection you created, do you recall which template it uses? Changing the master page is a property of publishing sites, it sounds like you have created the site collection using a template that does not have publishing features enabled.

    You can change the master page of a non-publishing site by browsing to http://myportal/sites/subsite/_Layouts/ChangeSiteMasterPage.aspx" (from Change the masterpage on a team site)




    • Edited by Jason Warren Thursday, September 26, 2013 12:10 AM added a word
    • Proposed as answer by Tarek Yehia Thursday, September 26, 2013 7:50 AM
    Thursday, September 26, 2013 12:09 AM
  • @Peter, 

    added to what Jason mentioned above.

    1) If I create a new master page in Sharepoint Designer, how can I assign that new master page to my new subsite?

    >>one more option is, you can use SPD, from there right click on masterpage then select [Set as default Masterpage]

    http://office.microsoft.com/en-in/sharepoint-designer-help/change-the-current-master-page-HA010167165.aspx#BM2

    2) How can I have my site collection subsites inherit the master page from my portal site?

    >>"Reset all subsites to inherit this site master page setting" can reset sub sites master page from ChangeSiteMasterPage url  as Jason specified.

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/976edc9f-b667-4297-b00a-79403c4aeacd/ho-to-inherit-site-collection-top-site-master-page-to-all-subsites-in-sharepoint2013-foundation


    My Blog- http://www.sharepoint-journey.com| Twitter
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful

    • Marked as answer by Peter Len Thursday, September 26, 2013 1:17 PM
    Thursday, September 26, 2013 7:43 AM
  • Thanks for the replies Jason and Devendra.  I first tried to use the ChangeSiteMasterPage.aspx, but got some error (never explained of course).  I then saw Devendra's comment about using Sharepoint Designer.  That worked perfectly.  I did find it odd, however, that on the default portal site, when dealing with master files, sharepoint changed it so that there is a .html file (ex seattle.html) and a .master file (ex. seattle.master) and that you modify the .html file and not the master.  But when I created my site collection, the master pages were only defined by .master files and no .html files.  I am not sure of the reason for making it different but I guess it wouldn't be a s fun if everything was consistent.

    Thanks again for the help

    Thursday, September 26, 2013 1:17 PM