Title Foreground Color Issue

May 15, 2013 at 2:04 PM
I have set my title foreground color to our corporate green in the design section of the 'Edit Web Part'. However, it only creates a green border around the title and does not fill in the whole title green.

Am I right in thinking this is due to some CSS somewhere?
Does anyone know which CSS class or ID would be the culprit here?

Below is a screenshot of what is currently looks like
Link to screenshot

Any help resolving this is greatly appreciated!
May 23, 2013 at 8:58 AM
Hi

I want to do the same thing.
Because I'm unable to modify the project I write a little CSS file with de selector ".asn-calendartitle" for css class asn-calendartitle
In it you can change the background color.

This class is used in the title and in the today


An exemple if I put this css text
.asn-calendartitle
{
    background-color: #d8baf0 !important;
}
the calendar look like
Image


If you don't want to create a separate css file you can take the source code and change the value in the file "CalendarWebpart.cs" at line 486
Page.ClientScript.RegisterStartupScript(GetType(),
                "InlineStyle", "<style type=\"text/css\">.asn-calendartitle {background:url(/_layouts/images/fgimg.png) #ccebff repeat-x left top}</style>",
                false);
Regards
Phil