Home › Forums › Calendar Products › Events Calendar PRO › Past Events Loading Callback?
- This topic has 5 replies, 2 voices, and was last updated 11 years, 4 months ago by
George.
-
AuthorPosts
-
December 7, 2014 at 11:15 am #910943
chirocare
ParticipantHello,
I just noticed that my pages aren’t rendering as desired on the past events pages. This is because I am using some jQuery to equalize the column layout and this is happening before your events are loaded in. Therefore the column height is being defined beforehand. I’m wondering if there’s any way to hook into a callback on that loading, so that I could do the column equalizing when it’s done?December 7, 2014 at 11:17 am #910944chirocare
ParticipantActually, I think the easiest solution here is probably to disable the jQuery stuff I’ve got going — because it’s really only needed on this page if there were no events. It’s okay if the events column is longer than the sidebar. So if I just disable it for this page, it should render just fine. So, nevermind!
December 7, 2014 at 11:20 am #910946chirocare
ParticipantWell, actually (again), maybe I still do need your assistance. Because it looks like you’re changing the URL on the fly, not actually loading a new page or template.
December 8, 2014 at 11:19 am #912081George
ParticipantHi Courtney,
Sorry you’re having some trouble here. I checked out your site, and was able to resolve these layout issues without using JavaScript at all – try adding the following CSS to your theme and see if it helps to resolve your layout issues at all:
body.tribe-events-page-template #right-column-wide {
overflow: hidden;
}
If that alone doesn’t help, I’d recommend trying to add !important to that declaration, like this:
overflow: hidden !important;Let us know if this helps! 🙂
George
December 8, 2014 at 12:28 pm #912184chirocare
ParticipantHello, again.
Thanks for looking into this! I tried what you sent, but I do actually need Javascript for it. The reason being that I use JS to set the height, if necessary, of the right column. The goal is that it is always as large or larger than the sidebar column. So, because I was doing this via JS, it was overriding any CSS. I’ve figured out a solution, though, and I have it working. Thanks!December 9, 2014 at 6:02 pm #913599George
ParticipantHey Courtney,
Sorry I wasn’t able to provide JavaScript that solved this for you, but I’m glad you figured out a good solution regardless and will close up this ticket for now. If you’ve got any other issues or questions that pop up, feel free to come back and open another ticket! 🙂
Best of luck with your site,
George -
AuthorPosts
- The topic ‘Past Events Loading Callback?’ is closed to new replies.
