Creating SharePoint themes used to require editing CSS style sheets manually or using a tool like SharePoint Designer. Furthermore, packaging and deploying the themes required administrative access to the server. This is no longer the case! Now you can create a SharePoint theme without ever having to see a single CSS style and you can easily deploy it to your server and apply it all within your web browser! Here’s how it’s done with Microsoft PowerPoint 2010.
Create the theme
First, open Microsoft PowerPoint 2010 and proceed to create an Office theme just like you would for a PowerPoint presentation. See this PowerPoint help documentation which describes how to do this. For this example I created a theme called Greens which uses a predominately green color scheme. The files which make up Office themes have a .THMX file extension.
Upload the theme
Themes may now be stored in the Themes Gallery on your SharePoint server, and you can also find them on the file system on your SharePoint server in the following directory.
C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TemplateGlobalListsThemes
After you have saved the <ThemeName>.thmx file, open your web browser and navigate to the Theme Gallery on your SharePoint server. To find the Theme Gallery and upload your custom theme, follow these steps.
- Open your SharePoint site
- Click Site Actions
- Click Site Settings
- In the Look and Feel section, click Site theme
- At the top of the page click the Theme Gallery link
- Click the Documents tab
- Click Upload Document
- Click Browse
- Browse to the <ThemeName>.thmx file you created and select it
- Click OK
- Click Save
Apply the theme
- Click Site Actions
- Click Site Settings
- In the Look and Feel section, click Site theme
- In the Select a Theme section select the theme you uploaded.
Selecting a theme in the list will show you the colors and fonts specific to the theme. Here you can see the colors which make up the Greens theme I created.

6. Click the Preview button to see what the theme will look like once it is applied
7. To apply the theme to your SharePoint site, click the Apply button
Here you can see the Greens theme applied to a SharePoint site.
Yes! It works for administration pages too!
It also works for dialog popup windows …
… the Site Actions menu …
and the Ribbon too!
Under the hood
What happens when you apply the theme to your SharePoint site? First, SharePoint opens up the THMX file and creates several images and CSS style sheets based on the colors defined in your custom theme. Then, a new subdirectory is created in the Themes Gallery and the images and CSS style sheets are put inside it. The first time you apply a theme to a SharePoint site the newly created subdirectory is named 0. The directory name is incremented by 1 each time you apply a new theme to the site.
Here’s a screenshot from SharePoint Designer 2010 which shows the subdirectory that is created when you apply a theme to a SharePoint site. In this case the subdirectory name is 3 because I applied 4 separate themes to the SharePoint site; the subdirectory name started as 0 and was incremented 4 times.
If you want to modify the theme further you can then edit the CSS style sheets and the images in the new subdirectory for your theme.
One size does not fit all
The approach outlined in this blog post will not change the layout of your site, it will merely change the colors, heading font, and body font. It’s a helpful approach to use when developing a prototype or a demo and you don’t have enough time to dig into the CSS to change the layout. It’s also a helpful approach to use when your requirements do not call for major look and feel changes and color changes will suffice. Other approaches also exist for changing the look and feel of your SharePoint sites, such as making custom Master Pages, Page Layouts, and CSS files. This approach usually takes less time than the other approaches, however it is not as flexible.


Thanks
EROL
MVP
We are currently planning to do a makeover on our internal 2007 farm. Not sure when we will go to 2010, but we probably won’t be early adopters. What will happen to any customized master pages, css files or themes when we want to upgrade?
Thanks
dean
When we upgraded the sharepoint.microsoft.com web site to sharepoint2010.microsoft.com we faced the same issues. Here’s what we found:
In 2010 the CSS files are split into several smaller files and loaded on demand to reduce page payload, so you will need to replicate your CSS changes from your existing CSS files into the new (multiple) CSS files.
Master Pages are very easy to upgrade. Essentially you swap out a few controls to dynamically load CSS and JS and add a div to hold the ribbon. You also swap out the searchbox control.
We didn’t have a theme to upgrade, so I’m unsure what that process requires at this point.
Is that possible to apply different themes on different Pages in SharePoint 2010?
Themes are applied at the site (SPWeb) level. The SPWeb.Theme property is used to programmatically set the theme applied to the site. It may be possible to do this with some custom coding, however I have not tried it before.
Write your own http module, register it under your webapplication and apply the css on that page programatically,hence you can easily chnage the css for individual page.
custom xml file can contain the page urls so you can cofigure them without changing the code.
May this approach help you out
Intekhab
Vikas, Simon,
After you create a new theme and upload it to the Themes gallery it is stored _themes/<X>/ folder. Where X is an integer representing how many times you changed the theme for the site (see above in the post). If you wish to add custom CSS to the theme you can open the CSS files stored in this folder and add your classes there. Or, you could add a new css file to the gallery folder then import it from the other CSS files SharePoint generates.
Just tried to use the link to the PowerPoint help documenation and it’s broken. Do you know the new link for this information?
Hi Jane,
I just double checked and the link is accurate.
Hey Todd,
Nice post – one correction. The new SP2010 themes are stored under 14TemplateGlobalListsThemes. The original 2007 Themes are still located under 14TemplateThemes but I believe that is for legacy support and upgrades.
I just wrote a blog post with some additional details on how Themes work in SharePoint 2010, and how to support them in custom CSS:
http://www.sharepointbits.com/…/…sharepoint-2010.html
Hi Chris,
Thanks for the heads up; I updated the article accordingly. Nice blog post!
thanks this is absultely useful
Hmm I found an exact copy of this post at this blog:
asphostcentral.wordpress.com/…/sharepoint-201…
Thanks for alerting me. I’m trying to contact the author of that blog and have my stolen content removed from their site.
I am a SharePoint user and so this post about creating a custom theme for SharePoint 2010 is a great useful on for me. We all know that Creating SharePoint themes used to require editing CSS style sheets manually or using a tool like SharePoint Designer. This post consists of how to create the theme, upload the theme, and apply the theme along with the action steps in details. The screenshots of various pages of SharePoint when green theme is applied are provided in this post and it really made the SharePoint more attractive. Thank you so much for sharing this great information.
Do u think this will meet our requirement.
If I have kept silver light web parts in my site so will the theme changed using sharepoint will work on silverlight web part also? I have loaded xap files in my sites and i want to implement the themes in my site will that works for silverlight also???
Thanks, your tips are splenid!
I was wondering if anyone has any idea about how to include background images for SP 2010 themes. I used PowerPoint to create themes, but they are not a lot different than the customizable themes that already exist in SP 2010. Please let me know if that can be accomplished.
Thanks
just learn about Sharepoint 2010. This is truly a wonderful post!!!!
Hey Baby – Thanks for the post! – C
Theming in SharePoint 2010
Sharepoint RTM doesn’t have _theme folder any more? I found the theme folder under _catalogs/theme/themed.
Pingback form spointblog.com/…/site-themes-in-sharepoint-2010/
Thanks for very useful post.
Your blog has great variety of points of view and I like the theme and congratulations.
Hilux SR
Nice work by the blogger, Keep up the work going
Whorush: 11 sites by this AdSense ID
Technically, it is true that the MP3 format is not natively compatible gapless encoding (and yes, Ogg, WMA and other formats few do). But in practical terms, when used LAME for encoding tags without spaces and including any decoder to read labels LAME gapless playback (and any player on any platform that does not understand the labels LAME should be carried out in forgetting). Despite Apple’s efforts, MP3 file format by far the most common and portable audio loss and the LAME encoder is probably the most common (by the way, apart from iTunes and WMP), so in my humble opinion this is a better alternative to Ogg encoding music files without interruption.
Interesting blog. It would be great if you can provide more details about it. Thanks you.
Interesting blog, just bookmarked it for later reference
Awesome work by the blogger, Thanks a lot for the share
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your posts. Any way I’ll be subscribing to your feed and I hope you post again soon..
Thank you for sharing great information to us flowers to dallas | flowers to brazil
Nice blog. Tips are very useful and the ideas looks creative.
Thank you so much for the interesting post.
Excellent read. Thanks a lot for sharing this with us.
Thanks, most useful indeed and a great time saver when I need to ideally be looking at other things.
This is my very first time here, really good looking blog. I found a lot of fascinating things in your blog. From all the remarks on your posts, it looks like this is a extremely popular website. Keep up the good work.
I absolutely loved the way you have created your website, it’s simple, neat, simple to navigate and extremely easy on the eyes. Is it possible to let me know which theme or designer did you use.
Valuable information ..I’m delighted to read this short article..many thanks for giving us this useful information. Great walk-through. I value this post.
Pretty good post. I just discovered your blog and wanted to say that I have really loved reading your blog posts. Any ways I’ll be subscribing for your feed and I hope you post again soon.
excellent and usefull information presented in this blog,
really interesting,thanks for sharing it.
custom printed playing cards
I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
After teweaking colours and so on in Sharepoint, the Theme gets the name "Custom" applied to it.
How do you give it the theme a meaningful name and save it / back it up?