SlideShare a Scribd company logo
SharePoint 2010 Branding
Phil Wicklund
About Me…
• Working with SP since
  2004
• Started as a trainer for
  Mindsharp
• Now consulting
  through RBA in MN
• Blog: philwicklund.com
• Writing a 2010 book:
Agenda
•   New Branding Features
•   Themes Born Again
•   CSS Registration
•   Master pages
•   Upgrade
New Branding Features
• Ribbon UI
New Branding Features
• Keeping the user “in context” with modal
  dialogs and Ajax throughout:
New Branding Features
• Rich text and web parts intermingle:
New Branding Features
• Easy toggle between zone orientations:
New Branding Features
• More W3C/XHTML compliant, eg,
  supports more browsers including IE 7-8,
  Firefox 3.6, and Safari 4.04
  – Some known limitations:
    http://technet.microsoft.com/en-us/library/cc263526(office.14).aspx

• IE 6 NOT supported
• Much fewer tables in the default master
  page: 5 versus 18 in 2007 (CSS!!!)
• Master pages changes apply to ALL pages
  including Layouts/settings pages.
Themes Born Again
• V3 Themes are dead…
• … and born again in the Office THMX xml
  format
  – Colors and font definition
  – Upload into _themes catalog
• No More SPThemes.xml
• [Preview: upgrade issues…]
Themes Born Again
Demo 1
Working with the out-of-the-box
themes
CSS Registration
• CSSRegistration control
  – Available in 2007
  – Used to register custom CSS in page Head
  – Common uses:
    • Web Parts
    • Layout and content pages
    • Master pages
CSS Registration
• A history lesson:                                                     Umm….
                                                                     Why did SP re-
  – CSSRegistration control                                          order my CSS?
        <SharePoint:CSSRegistration Name=“b.css" runat="server" />
        <SharePoint:CSSRegistration Name=“a.css" runat="server" />

     • Translates as:
        <link rel="stylesheet" type="text/css" href=“a.css"/>
        <link rel="stylesheet" type="text/css" href=“b.css"/>
        <link rel="stylesheet" type="text/css"
                 href="/_layouts/1033/styles/core.css?rev=..."/>
                                                                        Umm….
  – Workaround: DefaultUrl of                                        Core AFTER my
    CSSLink control                                                   custom CSS?

  – Which makes CSSRegistration kinda
    pointless…
CSS Registration
• The new and Improved CSSRegistration!
  – 3 interesting new properties:
    1. ConditionalExpression
       <SharePoint:CSSRegistration Name=“a.css"
         ConditionalExpression="lt IE 8" runat="server" />
       – Emmits:
       <![if lt IE 8]>
       <link rel="stylesheet" type="text/css"
         href=“NonIE8.css"/>
       <![endif]>
CSS Registration
   2. After (whoo hoo!)
      <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"/>             Ummm…
      <link rel="stylesheet" type="text/css" href=“a.css"/>
      <link rel="stylesheet" type="text/css"
               href="/_layouts/1033/styles/Themeable/corev4.css..."/>

      – But…
      <SharePoint:CSSRegistration Name=“a.css“ After=“corev4.css”
         runat="server" />
      <SharePoint:CSSRegistration Name=“b.css“ After=“corev4.css”
         runat="server" />
      <SharePoint:CSSRegistration Name=“c.css“ After=“corev4.css”
         runat="server" />

      – Translates as:
      <link rel="stylesheet" type="text/css"
               href="/_layouts/1033/styles/Themeable/corev4.css..."/>
      <link rel="stylesheet" type="text/css" href=“c.css"/>
      <link rel="stylesheet" type="text/css" href=“b.css"/>
      <link rel="stylesheet" type="text/css" href=“a.css"/>
CSS Registration
 3. EnableCSSTheming: Theme colors
    overriding your CSS
   •   Set to True by default:
       .philsclass {
           /* [ReplaceColor(themeColor:”Accent1”)] */
           background-color:Red;
       }
CSS Registration
• For a farm wide brand, how do we get the
  CSSRegistration control on the master
  page?
   Option 1: Place control in a web part?
   Option 2: Place control in page layout or
   content page?
   Option 3: Edit master page directly?
   Option 4: create a feature
    • Pros: Supports Farm-Wide brand
    • Cons: Visual Studio knowledge recommended
Demo 2
Deploy custom CSS via feature
activation
Master pages
• When CSS can’t quite do it (which is less
  often in 2010)…
Master pages




               Courtesy of MSDN…
Master pages
• Heavy changes: copy minimal.master
• Light changes: copy v4.master
• Tools:
  – SharePoint Designer
    • Site or Site Collection only
    • But easier interface for non-devs
  – Visual Studio
    • Supports farm wide deployments via feature
      activation
Demo 3
Deploy a master page and custom
theme via a feature
Upgrade
• “Visual Upgrade” for master pages
  – preserve user experience from 2007
  – won't get ribbon, etc
  – Can toggle back and forth between V3 and V4
    master pages
  – short term solution. Long term solution:
    • Migrate branding into copy of V4.master
  – Not available for My Sites
• V3 themes are dead…
Upgrade
Questions?

More Related Content

PDF
Making WordPress Your Own: Theme Customization & Creation
PDF
Create SASSY Web Parts - SPSMilan
PDF
Create SASSy web parts in SPFx
PDF
Introduction to web development
PDF
PPTX
Introduction to web development
PDF
Responsive Design in Drupal with Zen and Zen Grids
PPTX
Blooming SharePoint Design
Making WordPress Your Own: Theme Customization & Creation
Create SASSY Web Parts - SPSMilan
Create SASSy web parts in SPFx
Introduction to web development
Introduction to web development
Responsive Design in Drupal with Zen and Zen Grids
Blooming SharePoint Design

What's hot (20)

PDF
The WordPress Way
KEY
Sears Front End Changes
PPTX
Angular.js in XPages
PPTX
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
PPTX
Single Page Application Development with backbone.js and Simple.Web
PPTX
Web development
PPTX
Single page application and Framework
PPTX
Bliblidotcom - SASS Introduction
PPTX
How to make WordPress your friend
PDF
Introduction to web development
PPTX
Single Page Application
PPTX
Week1 Introduction
PDF
Jatkoaika.com - building sports website using Drupal
PDF
LESS is More (ChiHTML5 Meetup June 2016)
PPT
Amazon.com's Web Services Opportunity
PDF
Front-End Frameworks: a quick overview
PPTX
SASS - CSS with Superpower
PDF
Speeding up your WordPress Site - WordCamp Toronto 2015
PPTX
Javascript & Jquery
PDF
Metarefresh
The WordPress Way
Sears Front End Changes
Angular.js in XPages
Deep Dive into the Content Query Web Part by Christina Wheeler - SPTechCon
Single Page Application Development with backbone.js and Simple.Web
Web development
Single page application and Framework
Bliblidotcom - SASS Introduction
How to make WordPress your friend
Introduction to web development
Single Page Application
Week1 Introduction
Jatkoaika.com - building sports website using Drupal
LESS is More (ChiHTML5 Meetup June 2016)
Amazon.com's Web Services Opportunity
Front-End Frameworks: a quick overview
SASS - CSS with Superpower
Speeding up your WordPress Site - WordCamp Toronto 2015
Javascript & Jquery
Metarefresh
Ad

Similar to SharePoint 2010 branding (20)

PPTX
SharePoint Branding From Start to Finish
PPTX
Developing branding solutions
PPTX
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
PPTX
Branding sharepoint project
PPTX
Intro to Branding by Randy Drisgill and John Ross - SPTechCon
PPTX
Things I've learnt when skinning and customizing a SharePoint 2010 Site
PPTX
Designing SharePoint 2010 for Business
KEY
Team styles
PPTX
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
PPTX
Developing branding solutions for 2013
PPTX
Branding 101
PPTX
Css for Development
PPTX
Developing Branding Solutions for 2013
PPTX
Share point training branding 2010
PPTX
Intro to design_manager
PDF
cdocumentsandsettingsstudentdesktopnewfolderhtmlcss-100220030010-phpapp01.pdf
PPTX
SharePoint Branding Guidance @ SharePoint Saturday Redmond
PPTX
SPSVB 1 7-2012 - getting started with share point branding
PPT
New Css style
PPTX
Branding 101 extended
SharePoint Branding From Start to Finish
Developing branding solutions
Tulsa Tech Fest - SharePoint 2013: Intro To Branding & Design Manager
Branding sharepoint project
Intro to Branding by Randy Drisgill and John Ross - SPTechCon
Things I've learnt when skinning and customizing a SharePoint 2010 Site
Designing SharePoint 2010 for Business
Team styles
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Developing branding solutions for 2013
Branding 101
Css for Development
Developing Branding Solutions for 2013
Share point training branding 2010
Intro to design_manager
cdocumentsandsettingsstudentdesktopnewfolderhtmlcss-100220030010-phpapp01.pdf
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SPSVB 1 7-2012 - getting started with share point branding
New Css style
Branding 101 extended
Ad

More from Phil Wicklund (6)

PPTX
SharePoint Silverlight Sandboxed solutions
PPTX
How to Effectively Govern your SharePoint Content, Deployments, and Developer...
PPTX
SharePoint 2010 Client-side Object Model
PPTX
Highly available and scalable architectures
PPTX
Custom SharePoint 2010 solutions without server access
PPT
SharePoint 2010 Workflows
SharePoint Silverlight Sandboxed solutions
How to Effectively Govern your SharePoint Content, Deployments, and Developer...
SharePoint 2010 Client-side Object Model
Highly available and scalable architectures
Custom SharePoint 2010 solutions without server access
SharePoint 2010 Workflows

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
sap open course for s4hana steps from ECC to s4
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25 Week I
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Chapter 3 Spatial Domain Image Processing.pdf
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Programs and apps: productivity, graphics, security and other tools

SharePoint 2010 branding

  • 2. About Me… • Working with SP since 2004 • Started as a trainer for Mindsharp • Now consulting through RBA in MN • Blog: philwicklund.com • Writing a 2010 book:
  • 3. Agenda • New Branding Features • Themes Born Again • CSS Registration • Master pages • Upgrade
  • 5. New Branding Features • Keeping the user “in context” with modal dialogs and Ajax throughout:
  • 6. New Branding Features • Rich text and web parts intermingle:
  • 7. New Branding Features • Easy toggle between zone orientations:
  • 8. New Branding Features • More W3C/XHTML compliant, eg, supports more browsers including IE 7-8, Firefox 3.6, and Safari 4.04 – Some known limitations: http://technet.microsoft.com/en-us/library/cc263526(office.14).aspx • IE 6 NOT supported • Much fewer tables in the default master page: 5 versus 18 in 2007 (CSS!!!) • Master pages changes apply to ALL pages including Layouts/settings pages.
  • 9. Themes Born Again • V3 Themes are dead… • … and born again in the Office THMX xml format – Colors and font definition – Upload into _themes catalog • No More SPThemes.xml • [Preview: upgrade issues…]
  • 11. Demo 1 Working with the out-of-the-box themes
  • 12. CSS Registration • CSSRegistration control – Available in 2007 – Used to register custom CSS in page Head – Common uses: • Web Parts • Layout and content pages • Master pages
  • 13. CSS Registration • A history lesson: Umm…. Why did SP re- – CSSRegistration control order my CSS? <SharePoint:CSSRegistration Name=“b.css" runat="server" /> <SharePoint:CSSRegistration Name=“a.css" runat="server" /> • Translates as: <link rel="stylesheet" type="text/css" href=“a.css"/> <link rel="stylesheet" type="text/css" href=“b.css"/> <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/core.css?rev=..."/> Umm…. – Workaround: DefaultUrl of Core AFTER my CSSLink control custom CSS? – Which makes CSSRegistration kinda pointless…
  • 14. CSS Registration • The new and Improved CSSRegistration! – 3 interesting new properties: 1. ConditionalExpression <SharePoint:CSSRegistration Name=“a.css" ConditionalExpression="lt IE 8" runat="server" /> – Emmits: <![if lt IE 8]> <link rel="stylesheet" type="text/css" href=“NonIE8.css"/> <![endif]>
  • 15. CSS Registration 2. After (whoo hoo!) <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"/> Ummm… <link rel="stylesheet" type="text/css" href=“a.css"/> <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/Themeable/corev4.css..."/> – But… <SharePoint:CSSRegistration Name=“a.css“ After=“corev4.css” runat="server" /> <SharePoint:CSSRegistration Name=“b.css“ After=“corev4.css” runat="server" /> <SharePoint:CSSRegistration Name=“c.css“ After=“corev4.css” runat="server" /> – Translates as: <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/Themeable/corev4.css..."/> <link rel="stylesheet" type="text/css" href=“c.css"/> <link rel="stylesheet" type="text/css" href=“b.css"/> <link rel="stylesheet" type="text/css" href=“a.css"/>
  • 16. CSS Registration 3. EnableCSSTheming: Theme colors overriding your CSS • Set to True by default: .philsclass { /* [ReplaceColor(themeColor:”Accent1”)] */ background-color:Red; }
  • 17. CSS Registration • For a farm wide brand, how do we get the CSSRegistration control on the master page? Option 1: Place control in a web part? Option 2: Place control in page layout or content page? Option 3: Edit master page directly? Option 4: create a feature • Pros: Supports Farm-Wide brand • Cons: Visual Studio knowledge recommended
  • 18. Demo 2 Deploy custom CSS via feature activation
  • 19. Master pages • When CSS can’t quite do it (which is less often in 2010)…
  • 20. Master pages Courtesy of MSDN…
  • 21. Master pages • Heavy changes: copy minimal.master • Light changes: copy v4.master • Tools: – SharePoint Designer • Site or Site Collection only • But easier interface for non-devs – Visual Studio • Supports farm wide deployments via feature activation
  • 22. Demo 3 Deploy a master page and custom theme via a feature
  • 23. Upgrade • “Visual Upgrade” for master pages – preserve user experience from 2007 – won't get ribbon, etc – Can toggle back and forth between V3 and V4 master pages – short term solution. Long term solution: • Migrate branding into copy of V4.master – Not available for My Sites • V3 themes are dead…