Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

340
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda