Question : Web Part Background Color Change

Hello all!
I am looking to change the background color of several web parts on the same page so it is easier to decipher. I have found code here: http://sharepointmagazine.net/technical/development/sharepoints-branding-limitations-part-3 but can't get it to work. From my understanding, I have to edit the properties of the Web Part id with a CEWP, but the code just doesnt work.
Any help would be highly appreciated.
Thank you

Answer : Web Part Background Color Change

The article is essentially correct BUT it sets the style for web part zones and you say you want web parts.

1.- Go to your wp page, right click > View page source
2.- Search through the page for "WebPartWPQ"
3.- Make a list of all "WebPartWPQ" + its number eg: WebPartWPQ2
4.- add content editor wp to the very top of the page
5.- Enter the below in the Source Editor of the web part, replacing the numbers with your numbers.

eg: #WebPartWPQ1 div, or #WebPartWPQ1 p,

If you web parts have elements with inline styling you'll need to use java
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:

Random Solutions  
 
programming4us programming4us