Solved

Change Color for Calendar Overlay in Sharepoint 2010

Posted on 2011-02-22
5
3,946 Views
Last Modified: 2012-08-14
Hello Everybody,

I'd like to learn how to change the selection of colors available for calendar overlays in Sharepoint 2010.  Could someone please show me how I can create my own colors instead of using the colors provided by Calendar Overlay.   Calendar Overlay Settings
0
Comment
Question by:amarelv
  • 3
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
AndrewSkoraro earned 500 total points
ID: 34956535
It appears that Microsoft has not made this extendable. I took a look at the ASPx file and the CSS files and cannot seem to make any of the changes work without errors.  You can create a custom style sheet to modify the following styles to change the color output, but you dont have access to the names being displayed.

.ms-acal-color1{
/* [ReplaceColor(themeColor:"Accent6-Lightest")] */ background-color:#fef8d6;
}
.ms-acal-color2{
/* [ReplaceColor(themeColor:"Accent5-Lightest")] */ background-color:#d0ffbc;
}
.ms-acal-color3{
/* [ReplaceColor(themeColor:"Accent4-Lightest")] */ background-color:#feebcd;
}
.ms-acal-color4{
/* [ReplaceColor(themeColor:"Accent3-Lightest")] */ background-color:#c8f0ff;
}
.ms-acal-color5{
/* [ReplaceColor(themeColor:"Accent2-Lightest")] */ background-color:#ffc8e8;
}
.ms-acal-color6{
/* [ReplaceColor(themeColor:"Accent1-Lightest")] */ background-color:#bee5ff;
}
.ms-acal-color7{
/* [ReplaceColor(themeColor:"Dark2-Lightest")] */ background-color:#e0e8f2;
}
.ms-acal-color8{
/* [ReplaceColor(themeColor:"Light2-Lightest")] */ background-color:#d9dde1;
}
.ms-acal-color9{
/* [ReplaceColor(themeColor:"Light1-Lightest")] */ background-color:#f2f2f2;
}
0
 

Author Comment

by:amarelv
ID: 34956651
Thank you AndrewSkoraro for trying to work with me on this issue.  I greatly appreciated your quick reply. Is it possible to make the changes in SharePoint Designer 2010?
0
 
LVL 3

Expert Comment

by:AndrewSkoraro
ID: 34956792
You can create a custom style sheet in SharePoint designer.  Follow the details at this link.

http://office.microsoft.com/en-us/sharepoint-designer-help/apply-a-custom-style-sheet-to-a-sharepoint-site-HA010169174.aspx
0
 

Author Comment

by:amarelv
ID: 35029541
I was able to change the selection of colors in the Calendar Overlay by inserting a content web editor and adding my own <style>..</style> elements to the page.  Please see screen shot below.  I now have an issue where the original colors (listed Calendars) do match with my "new" colors. (the dates) Could you please show me how to change so my listed Calendars will correlate with my new colors?
Colors Calendar Overlay
0
 

Author Closing Comment

by:amarelv
ID: 35189327
Thank you so much for all of your help!  It was greatly appreciated.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now