Platinum Sponsor
Gold Sponsors
THINGS I’VE LEARNT WHEN
SKINNING AND CUSTOMIZING A
SHAREPOINT 2010 SITE
Justin Lee
Skinning and Customizing
SharePoint may cause severe
headaches, frustration and loss of
sleep.
WARNING
Everything you can design for the
web, you can design for SharePoint
Can I do <insert web design feature> on SharePoint?
If you do not have server access,
there are some limitations to
reusability and deployment
Do you have server access?
Migrate to v4 masterpages,
Do not use v3 anymore
It is important to plan your
SharePoint Site
http://go.microsoft.com/fwlink/?LinkID=187505&clcid=0x409
Think about your site map too,
Identify the subsites and pages
http://www.mockflow.com/
Leave space for the new Ribbon
control in your design
Do not attempt to customize the
ribbon, however if you have to, read
http://blogs.msdn.com/b/sharepoint/archive/2010/04/06/customizing-ribbon-
positioning-in-sharepoint-2010-master-pages.aspx
http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/
Override CSS,
do not modify / remove directly
THE NEW IMPROVED CSSREGISTRATION
• Conditional Expression
<SharePoint:CSSRegistration Name="a.css"
runat="server" ConditionalExpression="lt IE
8"/>
Emits
<![if lt IE 8]>
<link rel="stylesheet" type="text/css
href="a.css" />
<![endif]>
THE NEW IMPROVED CSSREGISTRATION
• After
<SharePoint:CSSRegistration Name="a.css"
After="b.css" runat="server“ />
<SharePoint:CSSRegistration Name=“b.css“
runat="server“ />
Translates as…
<link rel="stylesheet" type="text/css
href="b.css" />
<link rel="stylesheet" type="text/css
href="a.css" />
Use CSS files as much as possible,
do not embed CSS or inline CSS
Start using min-height, min-width,
max-height, max-width in your CSS
v3 themes do not work anymore,
Use THMX theme format
Divs are IN
Tables are OUT
Use Relative URLs with
<% $SPUrl:~site/… %> and
<% $SPUrl:~sitecollection/… %>
2 ways to skin:
SharePoint Designer
Visual Studio
Steps to skinning your SharePoint
Design your skin in your favorite
graphic designer
Step 1
http://erikswenson.blogspot.com/2010/02/sharepoint-2010-layered-photoshop-file.html
Convert your design to HTML
Step 2
Identify the common regions for the
masterpages
Step 3
MASTERPAGES CONTAINS…
• Branding elements, such as corporate logos and color
schemes
• Shared navigation elements
• Shared features, such as search commands and Help
commands
• Links to cascading style sheets. (Cascading style
sheets control the page appearance, colors, and fonts.)
Identify the various editable regions
of your design
Step 4
Identify the main menu / sub menu with
Subsites, Folders to pages, and pages
Step 5
Create a new masterpage
Step 6
http://code.msdn.microsoft.com/odcSP14StarterMaster
Create new page layouts
Step 7
BASIC SKINNING OF SHAREPOINT
DEMO
RESOURCES
• http://startermasterpages.codeplex.com/
• http://erikswenson.blogspot.com/2010/01/sharepoint-2010-
base-css-classes.html
• http://blog.drisgill.com/
• http://styledpoint.com/blog/ribbon-customization-changing-
placement-look-and-behavior/
• http://msdn.microsoft.com/en-
us/library/ee539981(office.14).aspx
• http://www.thesharepointmuse.com/2010/05/sharepoint-
2010-customization-resources/
Contact Details
Justin Lee
Software Development
Consultant
triplez@justinlee.sg
Q & A
Things I've learnt when skinning and customizing a SharePoint 2010 Site

Things I've learnt when skinning and customizing a SharePoint 2010 Site

Editor's Notes

  • #2 Opening slide please include
  • #19 <SharePoint:CSSRegistration name="<%$SPrl:~SiteCollection/Style Library/~language/Core Stypes/Band.css%>" runat="server" After="corev4.css"/>