none
How to change the font color of text for a web part header - Sharepoint 2010

    Question

  • hi,

    Hi I am trying to change the font color and text Header color of the web part. i have open corev4.css and applying following code

     

    .ms-WPTitle
    {
    font-weight:bold;
    color:#333300;
    background-color:lime; 
    font-family:Verdana,Tahoma,sans-serif;
    padding-left:0px;
    padding-right:4px;
    padding-top:4px;
    padding-bottom:5px;
    font-size:12pt;
    }

    problem is that background color is working but font color is not working / no effect. so please suggest where to make changes and how do i do.

    thx

     


    iffi
    Thursday, August 11, 2011 6:03 AM

Answers

  • You have to set the
    .ms-WPTitle A
    in corev4.css as well (color is #0072bc by default if no theme applied). Since the title is linked, the A tag comes into play.
    AK
    • Marked as answer by Lily Wu Friday, August 19, 2011 8:37 AM
    Thursday, August 11, 2011 7:33 AM