• Resolved tilleyt88

    (@tilleyt88)


    I have a “sidebar” which I don’t use the widgets for its just got html code and php code. This is where I put 1 of my category type posts BUT if I put 3 posts my footer moves up and over, if its 2 posts it just fine, what can the problem be?? I have no clue any more.

    this is how it looks screenshot

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried validating the page for markup errors?
    http://codex.wordpress.org/Validating_a_Website

    Thread Starter tilleyt88

    (@tilleyt88)

    No haven’t but I shall now and report on the out come.

    Thank you.

    Thread Starter tilleyt88

    (@tilleyt88)

    only errors where simple little ones like not putting the alt other than that its fine. I’m sooo lost now.

    Thread Starter tilleyt88

    (@tilleyt88)

    if this helps anyone this is how I coded the footer

    HTML

    </div><!-- sidebar -->
    </div><!-- wrapper -->
    <div class="clear"></div>
    <div id="footer">
    <div id="footer-text">Copyright © 2012. Terry Tilley || Web Designer powered by WordPress</div>
    <!-- footer-text -->
    </div><!-- footer -->
    
    <?php wp_footer(); ?>
    </body></html>

    CSS
    Paste Bin Link

    Sooo I decided to check something, I decide to put just 2 posts so that the footer doesn’t mess up and then put in another post but just using straight html code and it doesn’t mess up then… confused or what!

    Thread Starter tilleyt88

    (@tilleyt88)

    wheeeeeeey I sorted it out..

    I had the

    <?php
    $featuredPosts = new WP_Query();
    $featuredPosts->query('category_name=recent-projects&showposts=3');

    sitting outside the div, knew it’d be something simple.

    imho, it is not caused by the footer code, but by the sidebar code – after all, the error only occurs if you change the content of the sidebar.

    you possibly have unmatched opening/closing html tags in the category type post code.

    please post a link to your site to illustrate the problem.

    and use a tool such as Firebug http://getfirebug.com/ to investigate the html/css structure in the case of an error.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘footer problem’ is closed to new replies.