Title: footer problem
Last modified: August 20, 2016

---

# footer problem

 *  Resolved [tilleyt88](https://wordpress.org/support/users/tilleyt88/)
 * (@tilleyt88)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/)
 * 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](http://www1.picturepush.com/photo/a/7408944/640/7408944.jpg)

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524681)
 * Have you tried validating the page for markup errors?
    [http://codex.wordpress.org/Validating_a_Website](http://codex.wordpress.org/Validating_a_Website)
 *  Thread Starter [tilleyt88](https://wordpress.org/support/users/tilleyt88/)
 * (@tilleyt88)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524845)
 * No haven’t but I shall now and report on the out come.
 * Thank you.
 *  Thread Starter [tilleyt88](https://wordpress.org/support/users/tilleyt88/)
 * (@tilleyt88)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524848)
 * only errors where simple little ones like not putting the alt other than that
   its fine. I’m sooo lost now.
 *  Thread Starter [tilleyt88](https://wordpress.org/support/users/tilleyt88/)
 * (@tilleyt88)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524849)
 * 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](http://pastebin.com/qgChWuTF)
 * 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](https://wordpress.org/support/users/tilleyt88/)
 * (@tilleyt88)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524853)
 * 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.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524855)
 * 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/](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.

 * 6 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/footer-problem-15/#post-2524855)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
