Tuesday, November 30, 2010 10:44 AM
I'm pretty clueless when it comes to CSS but I've been tasked with branding a SharePoint installation for a client.
First, I want to set a background image that will pervade the site. Using various blogs etc. I experimented with the corev4.css and it was nearly there but not quite so, having made a backup of the corev4.css before starting work, I reverted to it. So why were the changes still present? Well, it appears that the site is now referencing a file called corev4-8A0ABD2F.css. Huh?
So, two questions.
1. How can I easily set a background image for a site (it's a Team site, if that helps)?
2. How can I revert to the corev4.css file?
Tuesday, December 07, 2010 7:49 AM
Hope I’m not too late.
Would you please let us know which “background image” you wish to change?
There are several level UI setting(OOB, theme, or custom CSS), for custom CSS registration, you could consider using CssRegistration.
See: SharePoint 2010 CSS references in Master Pages: [http://erikswenson.blogspot.com/2010/01/sharepoint-2010-css-references-in.html]
Hope this can help, and correct me if I misunderstand!
- Marked As Answer by Wayne Fan Friday, December 10, 2010 1:40 AM
Tuesday, December 07, 2010 9:14 AM
SharePoint team sites use the corev4.css which is present in hive by default. When u make any changes to the default css, a local copy of the corev4.css gets saved into your content database. This is why the name of your css has changed.
To set the background for the page, try using background-image property for the body tag