Archived topic
Sidebars messed up in blog
16 replies · Started by Sven on April 3, 2016
Hi Tom,
could you please have a look at: http://www.fudiggl.de/blog/
As you can see, there's only 1 of 2 sidebars - and it's messed up (after the postes)...
Any ideas?
Thank you in advance for your help!
Best regards,
Sven
Hi Sven,
This typically happens when there's some broken HTML on your site.
You'll have to go through and make sure for every opening element (<div>, <p>, <span>) there's a closing element (</div>, </p>, </span>).
That error only appears in the blog. The rest of the side acts normally...
Any idea besides?
Are there any widgets specific to the blog? If so, check in there.
If not, then the error is in one of your blog posts.
Good ideas! I'll get after them... thank you!
Hi Tom,
that's weird! The left sidebar is totally missing, the right sidebar is shown below the posts - but only on these three pages:
http://www.fudiggl.de/blog/
http://www.fudiggl.de/blog/page/7/
http://www.fudiggl.de/blog/page/14/
All other pages show up correctly! And I don't see a pattern... as the rest of the sites appears correcty I assume, it's not a widget...
I use the events calendar (Modern Tribe) and the events are added to the blog, but they all behave correctly.
Any other idea/s?
Oh, I forgot: do you have a recommended tool to check html code? For example a tool with colouring so I can fastly check brackets?
Hmm, you could run an extension like this in Firefox: https://addons.mozilla.org/en-US/firefox/addon/html-validator/
Try debugging your plugins. #1 on this page: https://generatepress.com/knowledgebase/debugging/
Hi Tom,
it's the The-Events-Calendar-Plugin with its blog loop function:
by deactivating the plugin, the blog roll shows up nicely. By activating the plugin: it's messed up!
I'll contact the Modern Tribe-pals...
Best regards,
Sven
Interesting, let me know what they say :)
Hi Tom,
I actually found the time to get at that irritating problem...
I posted my problem in the WP support forum of "the-events-calendar". So I followed the instructions at https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
I only had The-Events-Calendar-plug-in activated --> worked, blogroll ok!
I activated GP Premium (masonry activated) --> blogroll is messed up, left sidebar disappears, the right one is pushed below the posts!
I decativated "masonry" AND "colmuns" --> blogroll correct!
==> there is a conflict with masonry/columns and the "show-events-in-blogroll"-function of "the-events-calendar"-plug-in!
By deactivating either masonry/columns or "the-events-calendar" the blogroll works as expected (except false layout OR missing events).
("masonry" OR "columns") AND "show-events-in-blogroll" = blogroll mess
I really hope this information can help you to go for a solution? Please keep me updated...
Best regards,
Sven
P.S.: For that involvement perhaps a coffee for me? Just kidding... ;-)
Hi there,
I'm assuming the show in blogroll option adds the events into your regular blog loop?
Exactly!
Hmm, I'll look into it, but GP doesn't do anything fancy with the blog posts.
GeneratePress is filtering into the post_class() function (core WordPress) to add specific classes necessary for the layout in Masonry.
At first glance, blog posts added by the Events plugin aren't getting all of the necessary classes through this filter. Perhaps this is something they have an idea about?
