Forums

My blog is totally hosed up. (6 posts)

  1. notyourmotherscrazy.com
    Member
    Posted 2 years ago #

    Okay, I have two major issues going on. First, my sidebar is now appearing below my posts on my post page instead of next to it. I looked at the code on the main page and then on the single.php and the placement looks no different.

    Also, now when, on the main page, I click in the comment number it takes me to the post page and I can't see comments anywhere. NOT good.

    I'd love any help I can get as I have minimal HTML knowledge. I'd even email the code to someone so you can see it. I'm so confused!

    Thanks is advance for any help you can give me.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Site url?

  3. sweetangst
    Member
    Posted 2 years ago #

    1) Probably a missing (or extra) opening or closing div tag.
    ---- main-blog div is not closed prior to sidebar div

    2) Potentially linked to #1 or something wrong with your theme and the location of the php that puts the comment box on your page to begin with.

    Fix #1 and see if that also fixes #2.

  4. notyourmotherscrazy.com
    Member
    Posted 2 years ago #

    Sorry. I thought I put the link in there.

    http://notyourmotherscrazy.com

    sweetangst - the main blog-div is closed. the last things I see look like this:

    </div><!--end main blog-->

    <?php get_sidebar(); ?>

    <div class="clear"></div>

    </div><!--end content-->

    </div><!--end wrapper-->
    <?php get_footer();?>

  5. sweetangst
    Member
    Posted 2 years ago #

    Where's the trust?

    I inspected your page elements with Google chrome. Your main-blog div is NOT closed prior to your sidebar div.

    Just because it has a little HTML comment next to a </div> tag doesn't mean it's actually closed hon. That </div> could just as easily belong to another div nested within your main-blog div. The only way to know for sure is to look at the code and make sure all the <div> tags have </div> mates and make sure that main-blog is closed prior to sidebar.

    Were you looking in the right template page... I'm guessing it's probably either in single.php or archive.php. It's obviously not a problem on the index.php because that page works.

    FYI - Your footer needs some love (e.g. your css isn't enclosed in <style> tags, there's other random stuff, and it isn't aligning properly on some of your pages) and your google ads are jacking up your whole theme, look at your About & Contact pages.

  6. songdogtech
    Member
    Posted 2 years ago #

    Use the an HTML validator and check your page and that will help your locate missing closing tags and other errors:

    http://validator.w3.org

    I've found and fixed many code errors that have caused wacky layouts....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags