Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Change calendar hours color | Event Espresso - Staging Server

Support

Home Forums Calendar Change calendar hours color

Change calendar hours color

Posted: June 18, 2013 at 8:17 am

Viewing 2 reply threads


monroe

June 18, 2013 at 8:17 am

On my client’s website, I have different background colors for different events, and I have the text set to white, which shows up well for the various background colors. However, the event hours color, located beneath the event title, still shows up in black.

This color is actually drawing from the regular CSS style sheet for the entire site, specifically from the p { style callout. So if I change that to white, the hours go white on my calendar but so does the rest of the p { text on the page.

I’m sure somewhere in one of the CSS files for the calendar plugin, it’s ordered to go get that color for the hours. I’m just wondering where exactly that’s called out so that I can modify it. Calendar link is:

http://198.154.229.8/~aegela/calendar/


Josh

June 18, 2013 at 8:59 am

Hi Monroe,

The nice thing about CSS is you can place additional styles to override existing ones (it’s called the Cascade, which is the C in CSS.) In this case you could add this to your theme’s custom stylesheet to make the event times display with white text:

#espresso_calendar .time-display-block span {
    color: #fff;
}


monroe

June 18, 2013 at 9:19 am

Thanks Josh.

I just didn’t know if there was a specific span for the time display block/what it was called. I was going to point the calendar itself to another call out, but this is a better solution.

Viewing 2 reply threads

The support post ‘Change calendar hours color’ 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 - Staging Server