• Resolved richards1052

    (@richards1052)


    For the past few days, I’ve noticed that my sidebar appeared both in the proper place (right) and, whenever I used a Category or Archive view, at the very bottom of the blog display and on the reverse side (left). Last night, I added a bunch of code for sidebar element displays (google adsense, amazon ads, etc.). Now today I notice that the sidebar doesn’t display on the right at all even on the main pg. It’s way down at the bottom on the left.

    I wonder if someone couldn’t do me the favor of taking a look & giving me some ideas of what’s wrong with my sidebar template code (or is it my theme css?).

    https://www.richardsilverstein.com

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter richards1052

    (@richards1052)

    UPDATE: I just tested out the image display code for the first time since deactivating the wysiwyg editor & now the css for text wrapping IS working (I’m guessing that the editor conflicts with the css image display code in the template). So scratch that part of my msg. above. I reduced the image size to 200 px & now it doesn’t break the sidebar.

    Now to find the other images that break it & figure out what to do w. them!

    Thread Starter richards1052

    (@richards1052)

    This just gets curiouser & curiouser…I started out resizing images in which the posts were breaking the sidebar, then I thought perhaps if I shorten titles that would work too (& it did). BUt then by accident I merely clicked on the “Save & continue editing” button w/o making any changes at all to the post. This too fixed the broken sidebar for that particular image. I then proceeded to ‘save’ every post in which the sidebar broke & it fixed all but 2.

    I found this to be exceedingly strange. Why would merely saving the post cause it to fix the sidebar issue?

    The only thing I can say to help someone figure this out is that all of these posts were recently imported from Typepad into WP. They’d never been saved after import into WP. But I can’t see why saving them would have effect on them at all. Anyone have any ideas why this worked?

    Now, I only have 2 posts out of 800 that still break the sidebar & for those I’m going to reduce the image size.

    Strange, but congratulations on the fix.

    Thread Starter richards1052

    (@richards1052)

    Carthik Sharma figured out this mystery for me.

    He helped me import 800 posts from Typepad into WP. Most of my posts use images. Hence there were lots of opportunities for display code mischief. TP was very forgiving about coding mistakes like extra div tags or missing pieces of code. WP let me know about it by breaking my sidebar.

    The reason why merely saving the posts corrected the sidebar breaking was I had activated the feature that attempts to repair broken html & as I saved the post this feature was adding missing div tags, etc. Just doing this fixed 95% of the posts with broken sidebars.

    Marc’s idea above about non-validating css code wasn’t far off the mark except that in this case it was faulty html.

    Mystery solved.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘sidebar appears at bottom of blog display’ is closed to new replies.