Forum Discussion
PLove59
Jun 02, 2020Brass Contributor
Calendar Overlay Color Menu
Good Morning All, I have a SPO calendar with multiple calendar overlays and used a separate CSS for the overlay colors. However, the default overlay colors, in the Color field drop-down menu, do not...
- Jun 03, 2020Honestly, I would not recommend any kind of these customizations. If you're worried about the person who's going to be managing the site after you, then what you're doing here isn't going good for them. These kinds of customizations aren't really supported, to change the stuff out of the box with CSS like that specially with SharePoint online. Once Microsoft decides to update the HTML or anything for its controls, or once your company decides to go to modern sites, your company will be mad at you.
My suggestion is to discuss the business need itself and check how changing these colors would increase the productivity of the business, rather than trying to tweak the product itself in an unsupported way.
PLove59
Jun 03, 2020Brass Contributor
derhallimGood Morning,
I used a custom CSS and applied it to the Master page via the 'Alternate CSS URL.' I assumed the new stylesheet would override the available colors in the Calendar Overlay settings 'Color' field menu, but it doesn't. Fortunately, I'm the single admin for our SharePoint site and know there is a custom CSS for the color fields. However, if anyone comes in behind me and adds a new overlay the menu options are going to be confusing. There is no way to replace the menu color names programmatically?
derhallim
Jun 03, 2020MCT
Honestly, I would not recommend any kind of these customizations. If you're worried about the person who's going to be managing the site after you, then what you're doing here isn't going good for them. These kinds of customizations aren't really supported, to change the stuff out of the box with CSS like that specially with SharePoint online. Once Microsoft decides to update the HTML or anything for its controls, or once your company decides to go to modern sites, your company will be mad at you.
My suggestion is to discuss the business need itself and check how changing these colors would increase the productivity of the business, rather than trying to tweak the product itself in an unsupported way.
My suggestion is to discuss the business need itself and check how changing these colors would increase the productivity of the business, rather than trying to tweak the product itself in an unsupported way.
- PLove59Jun 03, 2020Brass ContributorThank you for your response. However, we are using modern sites and all I can do moving forward is maintain documentation for any/all site customization and hopefully, keep everyone relatively happy.
- derhallimJun 04, 2020MCTI understand, but.. what if Microsoft makes a change that even you can't manage because customizations were not supported in the first place? In that case you'll have very unhappy users. Better to tell them about the limitations up front than to do unsupported workarounds then having to explain why they're not working later.