[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2438
  • Last Modified:

Change Datasheet View Background Color Sharepoint 2010

The background color of our Datasheet View is a very dark Grey.  I've read numerous posts online stating that I should edit the css file to change the background color.  I have made changes to the band.css file on our sharepoint server and that has made no difference.  Here is what I added to the file:
form#aspnetForm{
      background-color:#FFFFFF;
      height:100%

How can I figure out which css file I need to edit?  We are using a custom theme.  I am new to Sharepoint, please bear with me.

Thanks.
0
jenbeyer
Asked:
jenbeyer
  • 2
1 Solution
 
Rafael ISolutions EngineerCommented:
you have to make sure you're editing the right css file.  I would either use firebug in firefox to see what sheet is loading and where you could make the change.

Another way would be to add a Custom Content Editor Web Part in the list and using JavaScript to change the background.  The second mathod is if you don't have access to the server, or you don't want to poke around editing files on the server if you don't know how and where the css file is being used.
0
 
jenbeyerAuthor Commented:
Adding the following:

body{
background-color: #ffffff !important;
}

to the theme css files in TWO locations:
1033/STYLES/
1033/STYLES/Themable

Fixed my issue.
0
 
jenbeyerAuthor Commented:
Did more searching and testing on my own to eventually find the solution.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now