by David Kiff
30. April 2007 10:06
Creating the theme
- Navigate to:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES - Copy and paste a complete theme
- Rename the theme
- Navigate inside the theme directory
- Rename the .inf file to the exact name of the directory
- Open the .inf file in Microsoft Notepad
- Find and replace the old theme name with the new theme name created
- Create a new image to represent the new theme
- Navigate to:C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES
- Add the new image to the directory and record the filename
- Navigate to:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033 - Open the file “SPTHEMES.XML” in notepad
- Copy and paste an entire Template
- Rename “TemplateID” to the name of the directory previously created
- Write an appropriate display name and description
- Enter the location of the image (images/recordedFilename) created in step 10 under the thumbnail and preview entities
Applying the Theme
- Open the SharePoint site
- Navigate to “Site Actions”
- Select “Site Settings” then “Modify All Site Settings”
- Under “Look and Feel” select “Site Theme”
- Select the new theme from the list and select “Apply”
Modifying the Theme
Tools such as the CSS Viewer in Mozilla FireFox will prove to be valuable in locating classes.
- Ensure the theme is applied
- Open the site in Microsoft SharePoint Designer
- Navigate to “_Themes” then the new theme folder created earlier
- Open the .CSS file ending in 65001.CSS
- Modify this file to change the theme
- To change the images navigate to the themes directory:C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES\BROADRIDGE
- Select an appropriate image and modify as required.