WordPress.org

Ready to get started?Download WordPress

Forums

Whats Wrong with my Theme? (20 posts)

  1. Anonymous
    Unregistered
    Posted 5 years ago #

    About a week ago something went wrong with my theme and now my homepage shows up all messed up.

    All of the sidebar widgets are stuck at the very bottom and the white background that should surround my text is gone.

    I didn't notice for a while because I had a bunch of posts written and on auto-post mode. Could this have been part of the problem?

    I have already completely erased my wordpress and re-installed but it didn't help. I know its just some small problem with the code but I can't figure out what it is.

    Any help would be appreciated.

    http://readbtl.com/

  2. Anonymous
    Unregistered
    Posted 5 years ago #

    Does anybody have a suggestion?

  3. rhbee1
    Member
    Posted 5 years ago #

    Similar thing happened to my site about a week or so ago. The site opens and then seems to blink. It then looks like the title box is offset to the post page. And all of the sidebar information is gone. I thought it might be because I added some code for adsense to the theme code but I deactivated that and my site is still broken.

  4. kohaku
    Member
    Posted 5 years ago #

    Rebtl, your site doesn't load.

  5. Anonymous
    Unregistered
    Posted 5 years ago #

    My site loads now kohaku, I woke up this morning to an email from my host saying that they had massive power outages. It should be back up now if anyone knows how I might fix is.

  6. kohaku
    Member
    Posted 5 years ago #

    The first thing that comes to mind is that your content area is too big to allow the sidebar to fit next to it.

    The second thing that comes to mind is a tag that hasn't properly been closed, but I didn't see any evidence of that.

    Lastly, you might want to check your CSS to make sure all the properties are properly closed.

  7. Anonymous
    Unregistered
    Posted 5 years ago #

    Well I looked through the CSS and I didn't see anything that seemed to be wrong, not that I really know what I'm looking for.

    I also don't know if it could be that my content is too wide be no other pages on my site, including previous entry pages, are having this problem.

  8. kohaku
    Member
    Posted 5 years ago #

    According to the W3 HTML validator, your content area isn't properly closed.

    Maybe that's the issue?

  9. Anonymous
    Unregistered
    Posted 5 years ago #

    I'll look into that.

    Thanks a ton for that HTML Validator tool! that will help me more than anything in the long run.

  10. kohaku
    Member
    Posted 5 years ago #

    You're welcome.

  11. Anonymous
    Unregistered
    Posted 5 years ago #

    Yea I managed to fix all of the errors that were showing up with the validator tool and still my page looks like that.

    I have no idea what to try

  12. kohaku
    Member
    Posted 5 years ago #

    I'm looking at your site with Firebug (it's a FF extension) and it's telling me that the <div> for your sidebars isn't there, though the code shows it.

    It's displays as nested underneath your last post. Which is terribly odd.

  13. Anonymous
    Unregistered
    Posted 5 years ago #

    ok i will download that extension and see what I can do
    Thanks again for all your help

  14. kohaku
    Member
    Posted 5 years ago #

    No problem.

  15. Anonymous
    Unregistered
    Posted 5 years ago #

    So the W3 tools keeps telling me that I have open div tags, so I close them, and then it tells me I have no xhtml errors on the page, but it still looks like that.

    I tried to go through the firebug and figure out what was wrong but its way above my head.

    Anybody have any suggestions?

  16. kohaku
    Member
    Posted 5 years ago #

    Could you post your index.php?

  17. Anonymous
    Unregistered
    Posted 5 years ago #

    <?php get_header(); ?>

    <div id="contentwrapper"><div id="content">

    <div class="adsense_top"><?php include (TEMPLATEPATH . '/adsense_top.php'); ?></div>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post">
    <h2 class="postTitle">"><?php the_title(); ?></h2>
    <div class="postMeta">
    <span class="date"><?php the_time('M.d, Y') ?></span> in
    <span class="filed"><?php the_category(', '); ?></span>
    </div>
    <div class="postContent"><?php the_content('[Read the rest of this entry...]'); ?></div>
    <p class="comments"><?php comments_popup_link('Leave a Comment', 'Comments (1)', 'Comments (%)'); ?></p>
    </div> <!-- Closes Post -->

    <?php endwhile; ?>

    <?php else : ?>

    <div class="post">
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    </div> <!-- Closes Post -->

    <?php endif; ?>

    <div id="nextprevious">
    <div class="left"><?php posts_nav_link('','','« previous entries') ?>  </div>
    <div class="right"><?php posts_nav_link('','next entries »','') ?></div>
    </div>

    </div></div> <!-- Closes Content -->

    <?php get_sidebar(); ?>

    <div class="cleared"></div>

    </div> <!-- Closes Main -->

    <?php get_footer(); ?>

  18. kohaku
    Member
    Posted 5 years ago #

    </div></div> <!-- Closes Content -->

    One of those doesn't need to be there. Otherwise you are closing the contentwrapper early. And I don't think that's what you want to do.

  19. Anonymous
    Unregistered
    Posted 5 years ago #

    yep that didn't do anything. thanks for trying though

  20. kohaku
    Member
    Posted 5 years ago #

    If it works on your previous pages, you might look to see what the difference is between those and your index.php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.