Support

Home Forums Event Espresso Premium Category Color Question

Category Color Question

Posted: November 30, 2018 at 3:01 pm


socialsparkmedia

November 30, 2018 at 3:01 pm

I have a parent category called Exam Prep Classes, and then sub-categories of that such as Electrical, HVAC, Plumbing, etc. I would like each of the events in the sub-categories to display with a background color. I’ve looked at other support requests and learned that when 2 categories are selected the top category overrides the sub-category. Is there a current work-around for this? I seem to recall that I needed the top level category for some reason, which I now don’t remember, I think it had to do with the drop-down selector choices. When I turn on the legend it shows the colors, and I can use it to filter the calendar results, but the calendar items are still gray background. My calendar is on this page: https://www.paulcalvoschool.net/contractor-classes-calendar/

Thanks.


Josh

  • Support Staff

December 3, 2018 at 8:12 am

Hi Fran,

The calendar category colors do not support sub-categories. What you could do is make “Exam Prep Classes” a tag (and remove the event category). Then the colors for categories for the different trades will be shown on the calendar.

Of, you could add extra CSS to your site’s custom stylesheet to override the Exam Prep’s category styles. For example, these will change the background colors for 3 of those trades-related categories:

.commercial-hvac-contractor {
background-color: #f4f27a !important;
}
.residential-contactor {
background-color: #d9cee2 !important;
}
.commercial-plumbing-contractor {
background-color: #c9d5ea !important;
}


socialsparkmedia

December 4, 2018 at 7:23 pm

Hey Josh,
The CSS is a good enough solution for me, easy and avoids major changes to the rest of my setup.

Thanks!

The support post ‘Category Color Question’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  socialsparkmedia 2 weeks ago ago

Topic Tags

Notifications

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