Home Forums Events Calendar Add-on Hierarchy of Category Colors in Calendar

Hierarchy of Category Colors in Calendar

Posted: August 7, 2012 at 4:05 pm

Jennifer Doyon

August 7, 2012 at 4:05 pm

Hi again –

Can you tell me how the hierarchy of category colors works? 99% of our events will be put in the ‘All Events’ category with an additional category such as ‘Adults.’ Which category color will take precedence? I have added a few test events with multiple categories and they all take the colors of ‘All Events,’ but the one event designated ‘All Events’ and ‘Teens’ takes the Teens color settings (which is how I would like it to operate).

You can see the test calendar at

Thank you!


Jennifer Doyon

August 7, 2012 at 4:08 pm


This event takes the Teens colors:

While this event takes the All Events colors:

Both events are categorized as ‘Teens’ and ‘All Events.’


  • Support Staff

August 7, 2012 at 6:13 pm

Hi Jennifer,

Here is what I would suggest trying: set the “all category” to not use the color pickers feature in the category manager.

Then add this to your WP theme’s custom stylesheet:

.fc-event-inner {

Then the other categories’ inline style rules should override the style rule set in the theme when you have multiple categories for an event.

Jennifer Doyon

August 8, 2012 at 12:26 pm

Hi, Josh –

Unfortunately, events that are in the ‘All Events’ category and another are still taking #26a7d6, the ‘All Events’ category color. Well, except for the one ‘Teens’ event I mentioned in my previous post.

Any other suggestions?

Thanks –


  • Support Staff

August 8, 2012 at 1:06 pm

Where are the custom styles being added to? Was this a file or a theme option? I’m not seeing them in the page source, but there are lots of places to look, so I might be overlooking them.

Also, can you try updating / re-saving the event with the ID of 18?

Jennifer Doyon

August 8, 2012 at 2:11 pm

The custom style is located in custom.css. I also tried putting it in the main style.css.

Also, how do I change the event ID?


  • Support Staff

August 8, 2012 at 2:53 pm

Okay, found those, they might need to have a greater degree of specificity, perhaps adding a container div iD might help. I couldn’t find the calendar page to test this idea out, as the link posted above takes me to a 404 page now.

There isn’t a feature in Event Espresso that lets you change the event ID, it would most likely break things if that were possible to do. It can be changed by editing the database tables using phpmyadmin, but I would recommend taking precautions before doing so. Backing up the database would be recommonded before altering the tables.

Jennifer Doyon

August 9, 2012 at 12:47 pm

Still no luck, but thanks for your help!



  • Support Staff

August 9, 2012 at 12:52 pm

What code did you try? Is the calendar viewable on another page now? This page returns a 404 error when I try to view it.

Jennifer Doyon

August 9, 2012 at 1:34 pm

I tried altering some of the div tags.

It’s viewable at


  • Support Staff

August 10, 2012 at 12:27 pm

You might try this: download and install the classic version of the calendar, and use that plugin instead:

Then follow this guide to use category colors in the calendar. Note, the last CSS declaration will override the first, so the category that includes ‘all events’ should have its CSS style rules declared before the other categories.

Jennifer Doyon

August 10, 2012 at 5:40 pm

Hi, Josh –

When I click on the Classic Calendar link from the post, I get this:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Access Denied




  • Support Staff

August 13, 2012 at 10:55 am

Sorry about that. We are working on re-uploading the classic version of the calendar.

The support post ‘Hierarchy of Category Colors in Calendar’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Status: closed

Updated by  Josh 8 years, 5 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!