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

Email Notifications not working in Sharepoint Tasks List

I had understood all the mechanics of the notification process I looked for something wrong in my environment. Everything was fine so I started my research around Tasks list security. Here are the scenarios I tested and also my remarks: 1. I left the permissions inheritance unbroken. The list didn’t have any permission for the AssignedTo user. It was clear that trimming mechanism came into play and immediate alerts job doesn’t send any email. So ensure you assign the needed level of permissions to the AssignedTo user of the task item because it is the one that will receive the email notifications. 2. I broke the inheritance and added permissions only to the AssignedTo user. Surprise: that time was working! The task creation email notification was sent. 3. I moved the code that creates the permissions for the user above the one that creates permissions for the group. Surprise again! It was working. 4. I thought it might have something to do with the Update method call so I jus...

Promoting Made In India Products by cycling 550km

Promoting Made In India Products by cycling 550km Meet my dad Mr. Ashok Bhagwat (age 55). He travelled to Pune from Dharni (native) by his bicycle 🚴 . The cause he was promoting is to buy "Made in India" products and "Boycott China" products. The 550km journey began on 24th Aug 2017 at 5:30am and finished on 28th Aug 2017 at 9:30am at Pune. He was inspired from his friends Mr. Lalit Joshi (age 60) who recently cycled from Dharni (Maharashtra) to Ahmedabad (Gujrat) then later Mr. Prabhashankar Purohit (age 64) joined him for extended journey from Ahmedabad to Banswara (Rajasthan). That's is really brave decision. Salute to you Dad! The news were published in media.. MPC News: http://www.mpcnews.in/top-news/item/7593-pune Pudhari: http://newspaper.pudhari.co.in/home.php?edition=Pimpri&date=2017-08-30&pageno=3&pid=PUDHARI_PUNP Bytes of India: http://www.bytesofindia.com/Details/?NewsId=50...

7 Tips for SEO

Follow the following 7 Tips for SEO on Website Meaningful Title & Description on Website Keywords: Using Meta Tag to write keywords which describes your website Heading Structure: Use H1, H2, H3 Headings properly on your website pages Domain Authority: Verify your domain authority on Google Search Server Backlinks: Other Website referring your website Social Media: Presence on Social Media such as Facebook, Instagram, Twitter, etc Performance: Your website's pages should not have heavy images which can results in bad performance when users are loading pages Reference  SEO Tips & Tricks