Forums

Why is there a huge gap in the right side bar of my page? (5 posts)

  1. simona71
    Member
    Posted 1 month ago #

    Hello
    My url is http://cgjvirtual-assist.com.ar/blog

    I was wondering if anyone could help with the huge gap in the right side bar of page:
    http://www.cgjvirtual-assist.com.ar/blog/5-claves-para-establecer-un-plan-de-marketing-on-line/

    How can I eliminate that gap??

    Thanks for helping.

  2. samboll
    moderator
    Posted 1 month ago #

    fix your errors - especially the tag problems

  3. simona71
    Member
    Posted 1 month ago #

    ... wow!!..

    I've been reading about other people having the similar problem. I'm almost there but I'm having trouble finding out the way to fix error
    line 287end tag for "div" omitted, but OMITTAG NO was specified

    I'm not really sure where I'm supposed to look for the unclosed div tags. Is it in the single.php ? Could the container div tag have anything to do with this?

    Thanks a lot for your help.

  4. Cordobo
    Member
    Posted 1 month ago #

    Hi Simona71,

    you added an additional

    <div id="post-227" class="post">
    <div id="post-227" class="hentry post">

    whereas the one you added is not closed properly.

    This causes
    1) a problem with the W3 validator and
    2) the problem with the misalignment of the sidebar and footer.

    As I don't know if the link you provided is an entry or a page, please check both

    single.php AND page.php for the occurance of

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    in single.php

    and
    <div class="hentry post" id="post-<?php the_ID(); ?>">
    in page.php

    Best, Cordobo

  5. simona71
    Member
    Posted 1 month ago #

    Hello Cordobo,
    Thanks a lot. Problem solved. (The link I provided was a page. Did you mean delete that line in page.php? = <div class="hentry post" id="post-<?php the_ID(); ?>"> Well, that's what I did, and it went o.k.... Hope that's it.

Reply

You must log in to post.

About this Topic