All-in-One Event Calendar
[resolved] Flip background colors (4 posts)

  1. 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?


  2. Richard
    Posted 3 years ago #

    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!

  3. Richard
    Posted 3 years ago #

    Hi Steven,

    I am going to mark this thread as resolved as we have not heard from for four weeks.


  4. kfoosh
    Posted 3 years ago #

    Hi Richard,

    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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic