locked
set custom masterpage RRS feed

  • Question

  • i have made a custom masterpage (not in sharepoint designer)

    and i want to set this custom masterpage for my website

    (if i would change the default.master the changes would be made on every website)

    so i need the custom masterpage to apply the changes just for this website

     

    but how to set the custom master page??

    Tuesday, November 15, 2011 10:32 AM

Answers

  • First you have to enable the Publishing feature

    Site Actions > Site Settings > Site Actions section > Manage Site Features

    SharePoint Server Publishing > Click on Activate

    Now create a Custom Master Page

    Site Actions > Edit in SharePoint Designer

    In SharePoint Designer

    1. Select your site
    2. Click on Master Pages on the left
    3. In the Ribbon click on Blank Page Master
    4. Name appropriately
    5. Download Randy Driscoll’s Starter Master Pages for SharePoint 2010 http://startermasterpages.codeplex.com/
    6. Unzip and copy the Foundation (foundation) or SharePoint Server (publishing) version of the master page, depending on your installation, and paste into your new master page content.
    7. save the custom master page

    Note: You can also duplicate a master page by right clicking on the listing, then using copy and paste.

    Make new master page available

     

    Site Actions > Site Settings > Galleries > Master pages and page layouts

    Click on master page to select the row

    In the ribbon, click on “Check In” if it is available

    In the ribbon, click on “Approve/Reject” to approve your new master page for use

    If the “Compatible UI Version(s)” field does not have the correct UI(s), click on the Edit Properties in the ribbon and add or change the UI Version (3 is if you are using the legacy UI, usually from an upgrade – 4 is for the new 2010 UI)

    Apply your custom master page

    Site Actions > Site Settings > Look and Feel > Master Page (available now that publishing has been enabled)

    Site Master Page > Specify a master page > select custom master page

    Note: This is used by publishing pages, select reset all subsites if you like!

    System Master Page > Specify a master page > select custom master page

    Note: This is used by forms, “view” pages and pretty much everything that is not a publishing page on your site. Select reset all subsites if you like!

    Alternate css url > specify a css file > browse and select the css file

    Note: select reset all subsites to inherit this alternate css url if you like!

    Click on OK and watch the magic! You can now edit the master page without fear of destroying your site! If you are really good with CSS (you will need to use alot of parent-child type of css to alter preset styles) you should not have a problem. If you need to brush up, you can start with checking out W3schools.com for a refresher.

     

    thx to: http://chayadigital.wordpress.com/2010/10/14/apply-custom-master-pages-in-sharepoint-2010/


    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    • Proposed as answer by Gokan OzcifciMVP Wednesday, November 16, 2011 9:56 AM
    • Marked as answer by Pengyu Zhao Thursday, November 17, 2011 2:23 AM
    Tuesday, November 15, 2011 12:03 PM
  • ty for help

     

    but iv found the solution, too

    u just have to upload the default.master on ur site in (websitesettings --> galery --> masterpages)

    then, the masterpage uv uploaded there is only applied for this site (and its subsites)

    • Proposed as answer by Gokan OzcifciMVP Wednesday, November 16, 2011 9:56 AM
    • Marked as answer by Pengyu Zhao Thursday, November 17, 2011 2:23 AM
    Wednesday, November 16, 2011 9:40 AM

All replies

  • May be it will help you:

    http://stackoverflow.com/questions/3532367/sharepoint-2010-how-to-apply-custom-master-page-and-theme-to-all-subsites


    Thanks, Amit Kumar, LinkedIn Profile ** My Blog
    Tuesday, November 15, 2011 11:55 AM
  • First you have to enable the Publishing feature

    Site Actions > Site Settings > Site Actions section > Manage Site Features

    SharePoint Server Publishing > Click on Activate

    Now create a Custom Master Page

    Site Actions > Edit in SharePoint Designer

    In SharePoint Designer

    1. Select your site
    2. Click on Master Pages on the left
    3. In the Ribbon click on Blank Page Master
    4. Name appropriately
    5. Download Randy Driscoll’s Starter Master Pages for SharePoint 2010 http://startermasterpages.codeplex.com/
    6. Unzip and copy the Foundation (foundation) or SharePoint Server (publishing) version of the master page, depending on your installation, and paste into your new master page content.
    7. save the custom master page

    Note: You can also duplicate a master page by right clicking on the listing, then using copy and paste.

    Make new master page available

     

    Site Actions > Site Settings > Galleries > Master pages and page layouts

    Click on master page to select the row

    In the ribbon, click on “Check In” if it is available

    In the ribbon, click on “Approve/Reject” to approve your new master page for use

    If the “Compatible UI Version(s)” field does not have the correct UI(s), click on the Edit Properties in the ribbon and add or change the UI Version (3 is if you are using the legacy UI, usually from an upgrade – 4 is for the new 2010 UI)

    Apply your custom master page

    Site Actions > Site Settings > Look and Feel > Master Page (available now that publishing has been enabled)

    Site Master Page > Specify a master page > select custom master page

    Note: This is used by publishing pages, select reset all subsites if you like!

    System Master Page > Specify a master page > select custom master page

    Note: This is used by forms, “view” pages and pretty much everything that is not a publishing page on your site. Select reset all subsites if you like!

    Alternate css url > specify a css file > browse and select the css file

    Note: select reset all subsites to inherit this alternate css url if you like!

    Click on OK and watch the magic! You can now edit the master page without fear of destroying your site! If you are really good with CSS (you will need to use alot of parent-child type of css to alter preset styles) you should not have a problem. If you need to brush up, you can start with checking out W3schools.com for a refresher.

     

    thx to: http://chayadigital.wordpress.com/2010/10/14/apply-custom-master-pages-in-sharepoint-2010/


    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    • Proposed as answer by Gokan OzcifciMVP Wednesday, November 16, 2011 9:56 AM
    • Marked as answer by Pengyu Zhao Thursday, November 17, 2011 2:23 AM
    Tuesday, November 15, 2011 12:03 PM
  • ty for help

     

    but iv found the solution, too

    u just have to upload the default.master on ur site in (websitesettings --> galery --> masterpages)

    then, the masterpage uv uploaded there is only applied for this site (and its subsites)

    • Proposed as answer by Gokan OzcifciMVP Wednesday, November 16, 2011 9:56 AM
    • Marked as answer by Pengyu Zhao Thursday, November 17, 2011 2:23 AM
    Wednesday, November 16, 2011 9:40 AM