Support

Home Forums Event Espresso Premium Event list display and Widget calendar css

Event list display and Widget calendar css

Posted: September 12, 2013 at 6:24 am


Vlastimir Sindelic

September 12, 2013 at 6:24 am

Hey there,
I have 2 questions.
1. On my event list i have 2 buttons (View details and Send reservation). Is it possible to change code so my Send reservation button redirect me directly on form, right now clicking on button is just getting me new button View reservation and its little bit confusing.

2. Is it possible to change css for widget calendar a bit? I want to remove check button on days when i have event. I just want to background of active event day be little bit different (example gray), but day number of event day to be for example white so it could be nice contrast. If you have any demo or already make templates so i could see how to do this.
Its ok event to be like on full page calendar. To have one color for active events.
Thanks in advance!


Dean

September 12, 2013 at 6:54 am

Hi,

1) The Send Reservation button is the Add to Cart button (perhaps a translation issue?) so it wont do anything except add to cart.

You can use this shortcode https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart to redirect to cart automatically though you may need to modify the template slightly.

Also check out his guide here https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/

2) The calendar Widget is in fact justa mini calendar so it takes on the same settings colour wise as the main calendar does. You shuld be able to override it with CSS though.

Something like

.espresso_calendar_widget .fc-event { background-color:black; }


Vlastimir Sindelic

September 13, 2013 at 4:04 am

Thanks for reply!
I try all this, all possible combinations for code and css but nothing happens.
Is there any way that i can send you PM of my site url to check closer what can be problem because i really stack it on this. I really don’t know what is happening.
Thanks in advance.


Dean

September 13, 2013 at 4:30 am

Sure, please send it to support at eventespresso dot com, and make sure you link to this forum thread in the email.

Thanks.


Dean

September 14, 2013 at 5:13 am

Hello,

Thank you for the email with the site URL.

Regarding the Send Reservation button (Add to Cart button). It is doing the correct job of adding an event to the cart (Multiple Event Registration plugin).

It is possible to send the user to a page or post containing just the registration form, but this means you will need to manually set up each page/post with the correct shortcode and manaully set up the link to thatpage on the event description so it shows in the event list.

You could possibly automate some of this by editing the template files (strong PHP knowledge required).

The shortcode to display just a registration form is found here https://eventespresso.com/wiki/shortcodes-template-variables/#reg-page

Regarding the calendar widget. If you update to the latest version of Both Event Espresso and the Calendar, the tick marks are no longer used.

This code should modify the calendar widget colour and remove the tick mark (should you not wish to update the plugin)

.espresso_calendar_widget a.fc-event-skin div {
background: none !important;  /* removes the tick mark */
background-color:yellow !important;   /* changes the event blob colour */
}

If the calendar gets updated, disregard the above code and use this

.fc-event {
background-color: red;
}


Vlastimir Sindelic

September 16, 2013 at 1:18 am

Thanks a lot for quick support!
Css code for old version is working like i charm. I try same code but i didn’t notice this div tag.

I found a way to put button for directly registration for events.

Thanks again for very fast support!

The support post ‘Event list display and Widget calendar css’ 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