Support » Plugin: All-in-One Event Calendar » [Plugin: All-in-One Event Calendar] Flip background colors
4 years, 5 months ago
I’m using the premium version. Our calendar has no all day events. I’d like to have all events use the category color as the background and white (#fff) as the font color. Is there a way to do this via CSS or do I have to modify the PHP?
Hi Steven Stern,
This can be done in the month.php folder. lines 62,63 and 65.
<div class=”ai1ec-event <?php if( $event->post_id == $active_event ) echo ‘ai1ec-active-event’ ?>” <?php echo $event->category_bg_color; ?>>
<span class=”ai1ec-event-time” style=”color:#fff” >
<span class=”ai1ec-event-title” style=”color:#fff” >
I hope this helps!
4 years, 4 months ago
I am going to mark this thread as resolved as we have not heard from for four weeks.
3 years, 9 months ago
I’m trying to achieve the same issue but am having no joy.
The calendar is here:
Where it says ‘Test Lisa’ I’d like these with the background colour of the category so that they stand out the same as the rest.
Can you help? Would be very much appreciated, thank you!