I tried this code and put it into content editor, It only changes the color into red in the calendar

<style type="text/css">
   background-color:red !important;

enter image description here but in the "Calendars in view" it doesn't change into red (still green).

enter image description here

So I wanna add the red color in one of the choices.

enter image description here


You can add CSS to change the color of panel as below:

    background-color:red !important;
| improve this answer | |
  • Where and how will I put that code, If i put that in the content editor, it doesn't work. – Vista Jul 6 '17 at 8:48
  • You are right. It has to be added in CEWP itself. – 404 Jul 6 '17 at 8:49
  • Can you tell me how? – Vista Jul 6 '17 at 8:51
  • Please add this CSS code below the CSS which you mentioned in question. Ref: sharepoint.stackexchange.com/questions/145209/… – 404 Jul 6 '17 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.