Page Template altered by custom HTML before event

Home Forums Calendar Products Community Events Page Template altered by custom HTML before event

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1368827
    studentprojecthouse
    Participant

    Hello. I am trying to add instructions to the top of the Event submission form. I found this nice extension on your website:

    https://theeventscalendar.com/extensions/display-custom-html-specific-calendar-views/

    However my problem is that when I do this, pages that do not have the before HTML content are displayed incorrectly. Specifically my sidebar gets moved to the bottom. I check in the DOM and the problem is that the sidebar gets move outside of the div it’s supposed to be inside (see Screenshot).

    I tried to use my theme’s functions.php and use a hook into the before_HTML function with an if statement to only show the instructions on the submission form but I got the same effect.

    Any ideas? Thanks in advance.

    #1369614
    Victor
    Member

    Hi Nils!

    Thanks for getting in touch with us! Let me help you with this topic.

    I’m not sure exactly how your sidebar is being added to the template. This is mostly sure an issue with your theme.

    Could you please share with me a link to the page you are seeing that issue in? I will try to have a closer inspection and see if I can come up with a solution for this.

    Thanks,
    Victor

    #1372051
    studentprojecthouse
    Participant

    Hi Victor,

    Thanks for getting back to me. I figured out a third way to do this by duplicating the view in my child theme and then just adding the text directly. This worked for me.

    You can close this thread.

    Thanks,
    Nils

    #1372502
    Victor
    Member

    Right on Nils! Great to know you could work it out!

    Thanks for following up to let us know about it.

    I’ll close this thread now but feel free to open a new topic if anything comes up and we’ll be happy to help.

    Best,
    Victor

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Page Template altered by custom HTML before event’ is closed to new replies.