How can I completely remove a Theme from SharePoint?

Office365 SP2013 SP2016

Info: SharePoint Designer is required in order to accomplish the steps described in this article. If you need to download it please follow this link

To completely remove a Theme from SharePoint (and not just uninstall it) you must follow the instructions below, depending on the SharePoint version you are using.

For Farm solutions (SP2013 and SP2016):

  1. Go to the sites where the theme was previously installed
  2. Now go to Settings -> Site Settings -> Manage Site Features and make sure the theme feature is deactivated
  3. Go to Site Settings -> MasterPage and make sure that the Seattle masterpage is applied
  4. On your server open the Central Administration
  5. Go to the solution gallery (/_admin/Solutions.aspx)
  6. Check if the YourThemeName.SP2013.wsp is in this gallery
  7. If it is click in the solution, and retract it
  8. When the retract job is finished click in the solution name again and delete it
  9. On your server go to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\IMAGES
  10. Delete the folder YourThemeNamePackage
  11. Go to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\JS
  12. Delete the folder YourThemeNamePackage
  13. Go to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\STYLES
  14. Delete the folder YourThemeNamePackage

For SandBox solutions

Open SharePoint Designer with the url to you site.

Removing Master Pages

  1. Go To All Files
  2. Open _catalogs -> masterpage
  3. Search for a folder with the name of the theme and remove it

Removing Page Layouts

  1. Go To All Files
  2. Open _catalogs -> masterpage
  3. Scrool down and select all the aspx files that starts with ThemeNameTheme (e.g. SPCTheme)

Removing Theme Resources

  1. Go To All Files
  2. Open Style Library
  3. Search for a folder with the name of the theme and remove it
Have more questions? Submit a request

Comments

Got a question?

If you can't find the answer to your question, you can contact us.
We are here and happy to help.

Powered by Zendesk