Support

Home Forums Events Calendar Add-on Events not appearing under correct dates in calendar

Events not appearing under correct dates in calendar

Posted: March 24, 2015 at 3:17 pm


Robert Sterling

March 24, 2015 at 3:17 pm

On the calendar view, we are having an issue where the events are being forced to the top left of the container instead of appearing in the appropriate dates.

http://i.imgur.com/Eulrfji.png


Dean

March 25, 2015 at 6:11 am

Hi,

Can you provide a link to the page containing the calendar please?


Robert Sterling

March 25, 2015 at 7:19 am

Sure! http://bonsecoursbariatric.com/event-espresso/

We have 2 events set up currently – one for 4/22 and 4/29. It appears to be forcing both into the top left corner of the container.


Tony

  • Support Staff

March 25, 2015 at 8:09 am

Hi Robert,

The sites theme is throwing a JavaScript error – http://take.ms/oKrDS

Looks like the page has some embedded JS at the bottom of the page:

jQuery(document).ready(function($) {
$(function() {
    $('.nav1 li').each(function() {
        if ( $(this).children('ul').size() > 0 ) {
           // $(this).append(' ▸');
             $(this).addClass('haskids');
        }      
    });
});

$('.nav1 > ul > li').on('mouseover', function(e){
		$(this).addClass('open');
});
$('.nav1 > ul > li').on('mouseout', function(e){
		$(this).removeClass('open');
});

})(jQuery)

Which is failing.

Can you switch to another theme and confirm if this is the issue, you can do this without altering the theme in use for the site using a plugin called Theme Test Drive


Robert Sterling

March 25, 2015 at 12:05 pm

We removed the script from the page but it hasn’t corrected the issue.

Check to verify: http://bonsecoursbariatric.com/event-espresso/

April calendar. We’ve also made sure all plugins including EE3 are latest versions.


Robert Sterling

March 25, 2015 at 12:17 pm

We tried deactivating all the non-standard plugins, as well, no joy.


Lorenzo Orlando Caum

  • Support Staff

March 25, 2015 at 12:21 pm

Hi, does the same thing happen when you test with another theme via theme test drive?

https://wordpress.org/plugins/theme-test-drive/


Lorenzo


Robert Sterling

March 25, 2015 at 1:05 pm

Yes, the problem appears to be theme based, but we cannot figure out which part of the javascript is causing the issue.


Josh

  • Support Staff

March 25, 2015 at 2:08 pm

Hi there,

We received your redeem a support token form, except the server’s FTP credentials were not sent. Can you resend the form and include the FTP credentials? We’ll need FTP credentials to access the theme files. Once we have the FTP credentials we can investigate further.


Josh

  • Support Staff

March 25, 2015 at 8:00 pm

It’s fixed. It turned out to be the first line of the site.css stylesheet where it sets all divs to position:relative;

The default for divs is position:static, so setting all divs to position:relative can break all kinds of things in weird and wonderful ways.

I added the following to the Etc section of site.css to set the calendar divs back to their default and threw in a few styles for the ajax loader spinner:

#espresso_calendar div {
	position: static;
}

#ee-calendar-ajax-loader-img {
	width: auto;
	max-width: auto !important;
}

The support post ‘Events not appearing under correct dates in calendar’ 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