Support

Home Forums Events Calendar Add-on Adjusting category priority for calendar labels Reply To: Adjusting category priority for calendar labels

Reply To: Adjusting category priority for calendar labels

Author Replies
Josh # Posted on March 27, 2018 at 11:27 am

Hi T R,

Those are some great questions. The calendar feature that adds the background color selects the first category by ID. So for example if you have two categories assigned to an event and their IDs are 86 and 92, the calendar will use the background color for category ID 86.

If you want the events to always use the background color for category 92 instead, you can add some custom CSS like this:

.category-slug {
background-color: #colorcode !important;
border-color: #colorcode !important
}

where .category-slug is the slug name of the category, and #colorcode is the hex code or equivalent.

If you need further help with overriding a background color for a particular event, can you reply with a link to the web page in question and include which event you want to change?

Do NOT follow this link or you will be banned from the site!