Forums

Help! Why is my sidebar messing up?! (16 posts)

  1. therange
    Member
    Posted 6 years ago #

    http://www.itestdrive.net

    Why is my sidebar moving to the bottom? It was ok, I didn't mess with any of the PHP files, can anyone please help?!

    Thanks a lot

  2. therange
    Member
    Posted 6 years ago #

    Someone please help! I'm sure this could be fixed easily, thanks in advance!

  3. davesouth
    Member
    Posted 6 years ago #

    AHHHH! mine just did this too like 20 min ago

    dsouthwick.com

  4. moshu
    Member
    Posted 6 years ago #

    Whenever you have problems like this - start here:
    http://validator.w3.org/check?verbose=1&uri=http%3A//dsouthwick.com/
    (before posting)

  5. davesouth
    Member
    Posted 6 years ago #

    tyvm! (... duh)

  6. davesouth
    Member
    Posted 6 years ago #

    It seems that inserting images from Gallery (via WPG2ID tags) is killing my sidebar. It didnt do that before? Why all of a sudden; and more importantly, how Can I fix it??

    AARg!

    Also, if the post (that has an image) is viewed in Single Post mode (archive page) it displays normally. (http://dsouthwick.com/archives/56

  7. therange
    Member
    Posted 6 years ago #

    That tool looks like it can help, but how do I use it?
    http://validator.w3.org/check?uri=http%3A%2F%2Fitestdrive.net%2F&charset=%28detect+automatically%29&doctype=Inline&verbose=1

    Thats what I got for my website. The red ">" all seem correct, can someone help me outline what's wrong?

    my website is http://www.itestdrive.net

    Thanks a lot

  8. moshu
    Member
    Posted 6 years ago #

    @therange, look at the last error of yours: an unclosed div tag - that could screw up any website!
    On that validation page click "Show Source" and Revalidate.
    The every error line # will become a link and by clicking it will take you the the line in the source code where the error occurrs.

  9. therange
    Member
    Posted 6 years ago #

    Thanks a bunch for the reply.

    Ok, on the Main Index Template file, I found the <div id="rap">

    <div id="rap">
    <?php get_header(); ?>
    <div id="main">
    <div id="content">

    Where does the </div> belong on this file?

    Thanks again

  10. moshu
    Member
    Posted 6 years ago #

    The closing probably is in the footer (or is not)
    This is how the template files build up your webpage:
    http://www.transycan.net/blogtest/2005/03/31/visual-anatomy-of-a-wp-15-theme/

    Of course, the closing tag might be there - and that would mean that an opening div tag went into one of your posts without being closed.

  11. therange
    Member
    Posted 6 years ago #

    I tried putting the </div> in Index, Footer, and Post, but it still didn't solve the problem.

    Just to let you know, I didn't edit anything, I just posted this post and everything went wrong.

    my e-mail is itestdrive[at]gmail[dot]com, I can send you detailed codes

    Thanks a bunch

  12. therange
    Member
    Posted 6 years ago #

    OK, it's down to two errors. I think it's the first error (since it has something to do with the post that messed it up). Does anyone know what the following means and how it's fixed?

    required attribute "alt" not specified .
    ...701/040701_escape_hmed_7a.ss_h.jpg" /></div>

    Thanks

  13. jerryg
    Member
    Posted 6 years ago #

    It means what it says. You need an alt tag with images.

    <img src="http://something.org/picture.jpg" alt="picture title" />

  14. kcire
    Member
    Posted 6 years ago #

    The <img> tag from the .JPG you mention doesn't have an 'alt' tag!...WordPress likes them...

    So...
    ...701/040701_escape_hmed_7a.ss_h.jpg" />

    Should be:
    .701/040701_escape_hmed_7a.ss_h.jpg" alt="my JPG image" />

    I think this is what it means...

  15. therange
    Member
    Posted 6 years ago #

    So "alt" tags contain the title of the image?

    For example, if I use the "Picture" button, insert the URL and then choose a title for the image, will that take care of the 'alt' tag?

  16. therange
    Member
    Posted 6 years ago #

    OK, I found out the problem. When I add the "more" tag "alt-t", it screws up, why is this happening?

    I would really appreciate some feedback.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags