Support

Home Forums Events Calendar Add-on Event espresso calendar event color changes.

Event espresso calendar event color changes.

Posted: January 12, 2018 at 10:11 am

Viewing 24 reply threads


FabricArtShop

January 12, 2018 at 10:11 am

Does ANYONE know where to go to customize the calendar colors? I have never seen an add on with so little customizations.


Josh

  • Support Staff

January 12, 2018 at 3:00 pm

Hi there,

You can go to Event Espresso > Calendar to change the background and text colors, more info in the documentation:

https://eventespresso.com/wiki/events-calendar-add-on/


FabricArtShop

January 16, 2018 at 9:45 am

There must be a problem. There are NO settings for color there.


FabricArtShop

January 16, 2018 at 9:47 am

There are only event colors. On the calendar, it shows one week white and the next week a dark gray and you can barely make out the dates. It is there where I need help.


FabricArtShop

January 16, 2018 at 9:56 am

http://test.ultrasoundes.com/signup/


Josh

  • Support Staff

January 16, 2018 at 10:19 am

Hi there,

The dark gray sounds like something the active WordPress theme is adding. If you can post a link to the page in question we can advise how to override the WordPress theme.


FabricArtShop

January 16, 2018 at 10:44 am

Here


FabricArtShop

January 16, 2018 at 10:45 am

Or here


Tony

  • Support Staff

January 16, 2018 at 11:31 am

Hi there,

Before digging further into this, can I ask why you are using an iframe for the calendar?

If you edit the page and just use the [ESPRESSO_CALENDAR] shortcode the calendar will be rendered directly on that page.


Josh

  • Support Staff

January 16, 2018 at 11:33 am

Hi there,

It looks like you’re using an iframe on the page to display the calendar. If you change the page to display the calendar with a shortcode that might just fix the background color. So this:

<div style="width:100%; height: 500px;">
	<iframe src="http://yoursite.com?calendar=iframe" width="100%" height="100%"></iframe>
</div>

can be changed to be this:
[ESPRESSO_CALENDAR]

Then you can apply some CSS to the page via the built in WordPress customizer in WP > Appearance > Customize > Additional CSS where you’ll add:

#espresso_calendar .fc-content table {
	background-color: #fff;
}

Then publish your changes.


FabricArtShop

January 16, 2018 at 11:36 am

Well, I tried the shortcode and all I get is this…

Online event registration and ticketing powered by Event Espresso


Tony

  • Support Staff

January 16, 2018 at 11:51 am

Are you using a page builder?

The above means either the calendar scripts are not being added to the page, or there is a JavaScript error being thrown which is preventing the scripts from running.

Do you have a page that is currently using the shortcode I can view?


FabricArtShop

January 16, 2018 at 11:52 am

See here


FabricArtShop

January 16, 2018 at 11:53 am

I am not using a page builder. I use the WordPress visual setting right on new page.


FabricArtShop

January 16, 2018 at 12:02 pm

I got to looking after reading your message Tony and I found it. My javascrip to footer was preventing it from loading. Is there a way around it as this helps page load time?


Josh

  • Support Staff

January 16, 2018 at 12:17 pm

Moving scripts to the footer of the page doesn’t help page load time. It might affect perceived load time, but in this case, it’s breaking things. This is because the Calendar scripts and their dependencies need to be loaded in the head of the document, so they’re ready and available to render the calendar.

You can use a plugin like autoptimize which will minify and compress scripts, which will really help page load time by reducing http requests and by reducing the amount of KB’s downloaded to the browser per page load.


FabricArtShop

January 16, 2018 at 12:22 pm

Thank you. Glad it is working.


FabricArtShop

January 16, 2018 at 4:10 pm

How do you get different events to show in different colors?


Josh

  • Support Staff

January 17, 2018 at 7:07 am

You can get different events to show in different colors by assigning each event to a different category, then assign unique background colors and text colors to each category in Event Espresso > Events > Categories.


FabricArtShop

January 17, 2018 at 10:13 am

Is there a different setting I need to change? Please take a look and advise? HERE


FabricArtShop

January 17, 2018 at 10:15 am

OH and also, is there a way to darken the date colors inside the calendar?


Tony

  • Support Staff

January 18, 2018 at 4:56 am

Is there a different setting I need to change? Please take a look and advise? HERE

We need more details than the output of the page, I’m not sure what I’m looking for?

Did you add the events to different categories?

OH and also, is there a way to darken the date colors inside the calendar?

You can use some CSS, such as:

#espresso_calendar .fc-day-number {
    font-weight: 600;
}

You can add that to Appearance -> Customize -> Additional CSS

Please refer to this guide for more detailed information about the CSS customizer: https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress


FabricArtShop

January 18, 2018 at 7:21 am

I’m sorry Tony, yes, I added different event categories per the advice. I either only get the predetermined colors set in calendar settings or they go blank background with lime green letters. I also set the event colors on each to be different. I can set that back up to show you. I currently went back to the settings in the calendar area.


FabricArtShop

January 18, 2018 at 7:29 am

In short, my current settings in the event espresso>calendar>setting is set no to “Use Color Picker”. And in the events themselves, under event espresso>events>categories, I have different colors set for each. What is up now is what I get.


FabricArtShop

January 18, 2018 at 8:13 am

I found it. Under event esspresso>calendar>advanced I disabled Disable Categories.

Viewing 24 reply threads

The support post ‘Event espresso calendar event color changes.’ 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