Past Events Loading Callback?

Home Forums Calendar Products Events Calendar PRO Past Events Loading Callback?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #910943
    chirocare
    Participant

    Hello,
    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?

    #910944
    chirocare
    Participant

    Actually, 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!

    #910946
    chirocare
    Participant

    Well, 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.

    #912081
    George
    Participant

    Hi 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

    #912184
    chirocare
    Participant

    Hello, 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!

    #913599
    George
    Participant

    Hey 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Past Events Loading Callback?’ is closed to new replies.