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.
-
AuthorPosts
-
February 27, 2017 at 10:54 am #1246341
Tanya Kieneker
ParticipantHello! 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!
February 27, 2017 at 11:19 am #1246371George
ParticipantHey 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
February 27, 2017 at 11:23 am #1246377Tanya Kieneker
ParticipantThat 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!
TanyaFebruary 28, 2017 at 9:32 am #1247048George
ParticipantSure 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
February 28, 2017 at 9:46 am #1247067Tanya Kieneker
ParticipantThat 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.
February 28, 2017 at 7:37 pm #1247358George
ParticipantI 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
March 22, 2017 at 9:35 am #1258156Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘HTML before event content issues’ is closed to new replies.
