WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Steven Stern
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. Richard
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Hi Steven,

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

    Regards

  4. kfoosh
    Member
    Posted 9 months ago #

    Hi Richard,

    I'm trying to achieve the same issue but am having no joy.

    The calendar is here:

    http://www.hgss.org.uk/dev/whats-on/events/

    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!

    Kris

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic