Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Right, I've created a custom theme (TESTTHEME) and have managed to change various css styles etc... to fit in with my design. Now I've come to personalise the navigation I need to drop some new images to be used in the theme.css file as background images and so on. However, I can't seem to add images into the directory. I've added them into:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES\TESTTHEME

and refreshed Sharepoint Designer yet my images do not show in the listing. Am I doing something wrong (i.e. dropping the images in the wrong location) or is this a limitation of the customisation process? It easy to modify the existing images but I would prefer to add my own.

share|improve this question

migrated from stackoverflow.com Mar 27 '12 at 18:40

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Sharepoint stores the theme in the filesystem, but copies those files into the database when the theme is applied. If you are editing your theme on the filesystem, you will need to switch your site theme to some other theme, then switch it back to your custom theme so the updated files are loaded into Sharepoint. Designer is looking at the database, not the filesystem.

Be careful though, because if you are making changes in Designer, they are NOT saved out back to the filesystem. So if you change your theme, you lose your changes.

What I do is edit and load my images in Designer on a development box. When I'm done, I copy and paste all the code and images back out to the file system to be packaged up for deployment on the production system.

share|improve this answer

Your Answer

 
discard

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