Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

334
Views
FullCalendar - set allDay: false color

Is there a way to set the text color of an allDay: false type of event? I'd like to be able to change it since that Basic blue its pretty bad in My calendar

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You could use eventClassNames - https://fullcalendar.io/docs/classname-input

for example:

eventClassNames: function(arg) {
  if (arg.event.allDay) {
    return [ 'all-day' ]
  } else {
    return [ 'not-all-day' ]
  }
}

Then have two CSS classes, and alter the style as you wish

.fc-event.all-day {color: white; background-color: red; }
.fc-event.not-all-day {color: yellow; background-color: green; }
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!