Skip to main content

Custom Site Theme for SharePoint 2007 (MOSS 2007) and WSS 3.0

SharePoint site theme basically consists of theme.inf, theme.css, and image files. Theme.inf file simply represents the title of the theme.

Theme.css is a stylesheet file that defines colors, header images and layouts of a site and image files can be referenced here to display on the page. By creating a custom site theme, you can easily change the style but in fact, writing and editing the stylesheet can be somewhat chanllenging when you have more than a hundred of elements to deal with.

Here is a short procedure of creating a custom site theme named "Ghost":

1. Copy any theme folder in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES" folder and paste with its name replaced with "Ghost". In this example, copy GRANITE folder.

2. In Ghost folder, rename GRANITE.INF file to GHOST.INF in upper case.

3. Open GHOST.INF file with notepad.

4. Change the value of title under [Info] to Ghost.

5. Replace every word, Granite, under [titles] with Ghost.

6. Open "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\SPTHEMES.XML" file with notepad.

7. Add the following lines under tag:

Ghost
Ghost
Ghost theme.
images/thghost.gif
images/thghost.gif

Notice that preview and thumbnail paths are images/thghost.gif. By default, MOSS 2007 and WSS 3.0 will not have such image files.

8. In order to display thumbnail and preview correctly, you will need to capture the screen and save the file in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES" folder with thghost.gif name. You can change the .gif file name if you change the thumbnail and preview file names in tag.

9. Do an iisrest for the server to recognize the new theme.

Comments

Popular posts from this blog

Error - The following URL is not valid while publishing InfoPath Form

After publishing a lot of InfoPath forms, suddenly InfoPath 2007 started to present with an error: The following URL is not valid: www.url.com Make sure you have a created site at root level. No need to stop system event notification. I have just created site at root level. While creating new site collection do not forget to create root level site, if u create root level site it won't show the error “the following url is not valid”.

SharePoint 2010 Features

Following are the features coming with SharePoint 2010 1. Inline editing for list items : no need to hit the datasheet view 2. BDC will be a two way road : sp2010 may support inserting data from BDC 3. No IE 6.0 Support : SharePoint 2010 will be “targeting standards based browsers (XHTML 1.0 compliant) including Internet Explorer 7, Internet Explorer 8 and Firefox 3.x. running on Windows Operating Systems. 4. With same architechture as of MOSS 2007, the stress will be on intergarting the advanced UI features, watchout for office like ribbon control, ajaxed controls etc 5. Content Management Interoperability Services : This will allow SharePoint to communicate with other CMS Refer @ http://www.ashwinbhagwat.com/my_blogs.html