Ready to get started?Download WordPress


[resolved] Sidebar content shoved to the bottom (5 posts)

  1. waynestiles
    Posted 2 years ago #

    I installed the plugin "Add Post Footer" and it shoved my sidebar content to the bottom of my single page posts:


    So I dis-activated and deleted the plugin, but the content is still shoved down. After deleting my cache, it's still there.

    Can you suggest a way to fix this?

    Thank you.

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    The sidebar div ended up INSIDE the main div -- which is not how it is on your other pages...so that's why the layout is messed up.

    Also, FYI, you have quite a number of mark-up errors on your page -- so you might want to look at Validating your site as well.

  3. waynestiles
    Posted 2 years ago #

    Hmmm, well I'm not sure how the sidebar div could end up inside the main div since I installed the code only in the plugin settings. After it goofed up, I just undid it. Some of the goofup seems to be associated with the code I installed:

    <div style="color:#999999; font-size:10px; line-height:15px;">This post may contain affiliate links that allow me to receive a commission from a purchase made by clicking the link. (Thank you!) I’m disclosing this to honor the FTC’s guidelines “concerning the use of endorsements and testimonials in advertising.”

    As far as the validation, I'm pretty much at a loss as to how I can fix it. I wonder if it is because I imported my posts from Blogger?

  4. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    If you compare the html of the other pages, you'll see how the sidebar div is out of place -- you should be able to move it in the html editor, although if the php file that is generating the page is messed up, it will happen again.

    Validating and cleaning up the errors is important -- though some errors are not a big deal -- i.e. a result of code/standards changing over time. But it's worth learning about and correcting the errors that are there. There is lots of info about this subject online and elsewhere. Start with the W3C site -- after reading the linked page I included above.

  5. waynestiles
    Posted 2 years ago #

    Thanks much for your input.

Topic Closed

This topic has been closed to new replies.

About this Topic