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

329
Views
Why does setting backgroundColor on a fullcalendar event just change the dot color instead of setting the background color?

UPDATE

The items appear with the dot and not the background color because they're built with a time of day on them. Remove the time so that start is just the date (ie. 2021-12-07), then they get the background color correctly as expected so the question now becomes how to get the background color even with the time of day on them...


Referencing

  • change the background color of the events in FullCalendar, and
  • https://fullcalendar.io/docs/eventBackgroundColor

I've added backgroundColor values to my events, but this only seems to change the dot on the events:

enter image description here

You'll notice that using extendedProps to set the background color doesn't work either.

I'm trying to get the event to appear in a block of the given color similar to this: enter image description here

Here's my events array; how can I get fullcalendar to change the background color on the event?

events: [
    {
        title: 'event1',
        start: '2021-12-07T08:00:00',
        backgroundColor: '#ff00ff'
    },
    {
        title: 'event3',
        start: '2021-12-07T09:00:00',
        backgroundColor: '#4d96f1'
    },
    {
        title: 'event2',
        start: '2021-12-08T08:00:00',
        backgroundColor: '#00ff00',
        extendedProps: {
            backgroundColor: '#00ff00'
        },
    }
],
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can also keep the timed events aspect but showing them as the same way as in all day by just adding eventDisplay:'block', in your Fullcalendar's parameters.

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!