HTML before event content issues

Home Forums Calendar Products Events Calendar PRO HTML before event content issues

  • This topic has 7 replies, 4 voices, and was last updated 9 years ago by Tanya Kieneker.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1246341
    Tanya Kieneker
    Participant

    Hello! I’ve successfully copied the php template files over to my theme and moved the “html before event content” area to display below the filter bar. However, it’s still showing up above the bar as well. I’ve tried to find which template file is still including this and can’t seem to locate it. The default template has it removed, but it’s still displaying.

    I installed The Events Calendar Extension: Selectively Show HTML Boxes, which works perfectly to remove the initial instance of the legend, however, doing that causes the sidebar on individual event pages to display under the content, rather than beside it.

    Does anyone know either: which php file is causing the first instance to still show or how to get the extension to work properly?

    Thanks!

    #1246371
    George
    Participant

    Hey Tanya!

    While I’m not sure why this is happening, and we unfortunately aren’t able to help troubleshoot why your custom template seems to be causing this, I was able to write some CSS that should hide that first instance of the extra content above the the filter bar.

    That CSS is as follows:

    body.post-type-archive-tribe_events .tribe-events-before-html:first-of-type {
    display: none;
    }

    Try adding this to the bottom of your theme’s style.css file, and let us know if it helps! ?

    — George

    #1246377
    Tanya Kieneker
    Participant

    That worked perfectly! However, it’s still showing up on the individual event pages and list view. Is there a way to include those versions in the CSS?

    Thanks again!
    Tanya

    #1247048
    George
    Participant

    Sure Tanya, just modify the CSS so it looks like this instead of what I first shared:


    body.post-type-archive-tribe_events .tribe-events-before-html:first-of-type,
    body.single-tribe_events .tribe-events-before-html {
    display: none;
    }

    I was not able to see this on the List View like you say…can you share a link directly to where it’s still showing erroneously?

    — George

    #1247067
    Tanya Kieneker
    Participant

    That worked perfectly! Thank you SO very much! Any ideas on the extension conflict I mentioned? Because this would have solved the problem very easily if not for the sidebar issue.

    #1247358
    George
    Participant

    I am not sure about that Extension, but will see if one of our developers can take a closer look — if we find a bug, we’ll fix it!

    Please let me know if there are any other issues or questions I can try to help with. 😀

    — George

    #1258156
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘HTML before event content issues’ is closed to new replies.