SharePoint 2010 Base Master Page / Minimal Master Page- Foundation Sites

One of the great joys of working with SharePoint is taking the SharePoint out of SharePoint. Don’t believe me? Check out this site built on top of SharePoint. Not too SharePointy huh?
Yes, you can hide, move, modify, and change most any part of a SharePoint site. When working with SharePoint 2007 and WSS 3.0, I would often utilize Heather Soloman’s base Master pages as they provided a quick, easy way to add my own formatting.
With SharePoint 2010, Randy Drisgill created a set of starter master pages for SharePoint and placed them at CodePlex. Starter Master Pages for SharePoint 2010 (Formerly known as Minimal Master Pages)
Although helpful and a great place to start, I decided to create my own base master pages for SharePoint 2010 based on my formatting preferences.
Download SharePoint 2010 Base MasterPages for Foundation Sites
Within this zip file you will find two files.
v4base_foundation.master – This is the base masterpage. It’s a modification of the v4.master file that SharePoint creates for you. I have removed some extra formatting, added some code the Microsoft seems to have forgotten, and otherwise formatted and commented on each aspect to the masterpage for quick reference. To use this, create a SharePoint 2010 foundation site if you haven’t already, then open the new site in SPD 2010. Once logged into the site go to All Files->_catalogs ->masterpage and copy and paste the v4base_foundation.master file to the masterpage directory. Right click on the new .master file and set it as the Default Master Page. You can now add/modify formatting as required.
One point to consider is that I added a custom css line to the header:


1
<</span><span class="purple">SharePoint:CssRegistration</span> <span class="red">name</span>="/Style Library/mysite/style.css" <span class="red">after</span>="corev4.css" <span class="red">runat</span>="server"/>

This is assuming that there is a new stylesheet added, style.css, that is placed in a directory within the site collections Style Library, under a subdirectory, mysite. First, you can add this style.css file in any directory you wish if you have access to the site collections Style Library. Second, you can rename the stylesheet filename to whatever you wish. Third, if you do not have access to the site collection Style Library, place the stylesheet in the masterpage directory or the site’s image directory. It’s up to you, although SharePoint would prefer that you add it to the Style Library somewhere. Whatever you decide, do not forget to update the directory path and filename in the <SharePoint:CssRegistration> tag.
v4base_foundation_hidden.master – This is basically the same file as the v4base_foundation.master page. The only difference is that I enclosed all of the primary SharePoint components in a div that is hidden. Why you might ask? Sometimes I find it much easier to hide everything, add my formatting in raw html / css, then start adding back in SharePoint components. Since I already have that masterpage created as well, I added it to the zip in case you would find this helpful.
My thanks to Heather Soloman and Randy Drisgill’s blog posts, they have been great references in the past. I simply wanted my own implementation, with my own formatting for my starting points for SharePoint 2010 projects. You may use my base master pages however you like. I cannot guarantee that they will work in every situation you have, so do not forget to back up your original masterpages just in case.
I will look to provide my SharePoint 2010 Server base master pages shortly. Otherwise, post a comment below if you have any questions.

4 thoughts on “SharePoint 2010 Base Master Page / Minimal Master Page- Foundation Sites

  1. Paul March 8, 2011

    Tried to download .zip file but nothing happened.

    1. Eric Overfield March 8, 2011

      Hi,
      I re-tested the link to the zip file download and had no problems. The zip file location is: https://blog.pixelmill.comm/wp-content/uploads/SP2010_BaseMasterPage_Foundation.zip

  2. Swati July 9, 2015

    No, the download link is broken. Its not working.

    1. Pixelmill August 19, 2015

      Thank you! The download link should be fixed now!

Leave a Comment

Your email address will not be published. Required fields are marked *

Enter Code *

Filed Under

Related

Do you need to build a custom search-driven component for your #digitalworkspace while saving thousands of hours of development time?

Join us on as we lift the hood of #PnP Modern Search v4, show you how it's built, & take you on a live coding adventure.

http://ow.ly/MTnL50EpN5J

#Hybridwork is more than just a buzzword to latch onto; it’s the future for many organizations for the unforeseeable future. So, how can you use #Microsoft365 for #hybridwork? Let's breaks it down…

http://ow.ly/ay2e50EmNhg

It's that time again! Join the #PixelMillWebinars on 4/29 where @EricOverfield lifts the hood of #PnP Modern Search v4, shows how it's built, & takes you on a live coding adventure to customizing your own web part using the power of the existing codebase.

http://ow.ly/EI5h50EmNqj

What? Anchor links now work in #SharePoint site navigation! This fix snuck in and I completely missed it. Use them to create a TOC for long pages or cross link between pages. They work in text or quick links web parts & nav too! https://support.microsoft.com/en-us/office/create-and-use-modern-pages-on-a-sharepoint-site-b3d46deb-27a6-4b1e-87b8-df851e503dec#bkmk_pageanchors

A big thank you to David Leveille and @CrushNetworks for having our President + Co-Founder @EricOverfield on this episode of #TheVirtualWaterCooler!

Subscribe to PixelMill's
E-news

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch