Support

Home Forums Event Espresso Premium vent Espresso – Calendar (EE 4.3+) subcategory colors

vent Espresso – Calendar (EE 4.3+) subcategory colors

Posted: November 20, 2017 at 1:18 am

Viewing 6 reply threads


inside

November 20, 2017 at 1:18 am

dear all
i would like to use a specific colors for each events subcategory in Event Espresso – Calendar (EE 4.3+).
Actually all events background color dependent of parent category custom colors setting


inside

November 20, 2017 at 5:53 am

UP


Josh

  • Support Staff

November 20, 2017 at 6:13 pm

You can set colors for the sub category and they’ll display on the calendar. However, if you set to event so the event belongs to both the parent category and the sub category only one of the colors will be applied to the calendar.


inside

November 21, 2017 at 2:43 am

Currently the event take the custom color of the parent category but how to make it take from the subcategory?(No custom color selected for the parent category)


Tony

  • Support Staff

November 21, 2017 at 12:59 pm

Hi there,

Currently, you can’t set the order for the categories so EE applies the background colour of the first category it pulls from the events.


inside

November 21, 2017 at 10:24 pm

Can you tel me please where is the files that i can edit to make this possible


Tony

  • Support Staff

November 22, 2017 at 5:41 am

I can give you the location, however, note that we don’t support customizations to the core code. You would be better off adding a hook into the calendar that allows you to modify what you need and then opening up a pull request for us to include it within the core plugin.

The file you need to look at is EED_Espresso_Calendar.module.php and its within the get_calendar_events() method.

Viewing 6 reply threads

The support post ‘vent Espresso – Calendar (EE 4.3+) subcategory colors’ 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.

Event Espresso