SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I lost custom theme created in SP2007 site upon migration to SP2010 using content database upgrade. I read somewhere that I need to copy existing theme from the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\THEMES directory into the new directory.

Edit the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\SPTHEMES.XML file and add a section for the new theme

This however causes an error when I try to access Site theme page. Any guidance would be helpful.

Regards, Lav

share|improve this question
up vote 0 down vote accepted

Unfortunately 2007 themes cannot be migrated to 2010 without additional work.

See below for some Q&A regarding themes. Source.

Q: When I apply visual upgrade, what will happened to my custom themes?

A: Site Themes are not great at upgrading, this post has more info on this: and here:


Q: In case that custom themes are not working correctly, what are my options to fix them?

A: Recreate them in 2010. You can even use "PowerPoint" which makes life really easy:


Q: How can apply these new corrected site theme to all existing sites? Can I do mass update or do I have to apply one by one...or other options?

A: You can achieve that programmatically, or with PowerShell. Here are a few links that could help: and

share|improve this answer
Thanks a lot for the detailed explanation and for answering many of my doubts. I created master pages at subsite level and used the css from my older theme using cssRegistration. That corrected the issue. – Lav Apr 24 '12 at 9:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.