• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Sharepoint 2010 how to apply a background color to a web part

Need help to apply a background color to a web part body (Not the title)

Any ideas how to achieve this?
0
pancho15
Asked:
pancho15
  • 2
  • 2
1 Solution
 
SSupremeCommented:
add this to your CSS file:
body {background: green;}
0
 
pancho15Author Commented:
Needs to be for the web part body not the page body ?
0
 
ramuar1981Commented:
in css file find below class name and add background color

ms-wpContentDivSpace
{
background-color:red;
}
0
 
SSupremeCommented:
What is the name of web part body?
0
 
pancho15Author Commented:
thanks
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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