Design Web Part default styling in sharepoint 2010 with css

yael zur 21 Reputation points
2020-08-18T05:37:45.14+00:00

I work on sharepoint 2010 and would like to change the design of the default look of content web parts on the page using css page. I am new with css.
My goal is: rounded boarder with light blue color, no fill color (or fill color white), and I would like to change the hyper link color to dark page. Also I would like to hide the title.
I made css file, and the first part work - the borders are rounded and light blue, but the fill color is not white, the link is in the wrong color and most important the title is shown. I know I have syntax errors: maybe the wp names are wrong or the commands inside {}. Can someone help?

Here is my code:

.ms-WPBorder
{
border-style: solid;
border-color:#c5e0f1;
border-width:1px;
border-radius: 10px;
}

.ms-WPTitle
{
display: none;
}

.ms-WPBackground
{
color: #ffffff;
}

.ms-WPContent
{
link-color: #00224B;
}

Thank you and best regards,

Yael

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,825 questions
0 comments No comments
{count} votes

Accepted answer
  1. Baker Kong-MSFT 3,791 Reputation points
    2020-08-19T03:13:41.38+00:00

    Hi yaelzur-7417,

    Please take a reference of below css :

    And here is a good blog that shares how to apply CSS styles to SharePoint Web parts:

    Best Regards,
    Baker Kong


0 additional answers

Sort by: Most helpful