Title: RE: single.php &#8211; class=postfooter &#8211; Issue
Last modified: August 19, 2016

---

# RE: single.php – class=postfooter – Issue

 *  Resolved [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/)
 * Template: single.php
    Code: [http://pastebin.com/kaVHduVJ](http://pastebin.com/kaVHduVJ)
   Example: [http://www.crozon.ca/blog/test-post](http://www.crozon.ca/blog/test-post)
 * The last postfooter image does not line up. It may be hard to see but at the 
   very bottom of the page the image is pushed to the left of the screen. This is
   only happening on all Single Post pages. Is there anyway I can make it line up?
 * Please help.

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

 *  Thread Starter [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755028)
 * If anyone out there can help me out I would really appreciate it. This issue 
   has been driving me mad.
 *  Thread Starter [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755055)
 * Just wondering if anyone out there can point to me to any resources that will
   help resolve this issue. Thanks in advance.
 *  Thread Starter [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755105)
 * Does anyone have any questions? Maybe I’m not being clear with my explanation.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755109)
 * the html is a bit in a mess at the end of your single post:
 *     ```
       <div id="footer" role="contentinfo">
       	<p>
       		 				<!-- 30 queries. 4.968 seconds. -->
       	</p>
       </div>
   
       </div>
       		<script type='text/javascript' src='http://crozon.ca/wordpress/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.47'></script>
       <script type='text/javascript' src='http://crozon.ca/wordpress/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.1'></script>
       </body>
       </html></div>
       </div>
       <div class="postfooter"></div>
       ```
   
 * your `<div class="postfooter"></div>` should be somewhere further up in the code,
   not after the closing body and html tags.
 * see also [http://validator.w3.org/check?uri=http%3A%2F%2Fwww.crozon.ca%2Fblog%2Ftest-post&charset=%28detect+automatically%29&doctype=Inline&group=0](http://validator.w3.org/check?uri=http%3A%2F%2Fwww.crozon.ca%2Fblog%2Ftest-post&charset=%28detect+automatically%29&doctype=Inline&group=0)
 * this bit at the end of single.php:
 *     ```
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       </div>
       </div>
       <div class="postfooter"></div>
       ```
   
 * might need resorting –
    probably remove all code after the ‘get_footer’ line;
   and re-insert the `<div class="postfooter"></div>` into comments.php(?) after
   the `</div><!-- #comments -->`
 * if you have problems sorting this, you could paste the code of comments.php into
   a [http://wordpress.pastebin.com/](http://wordpress.pastebin.com/) and post the
   link to it here.
 *  Thread Starter [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755113)
 * Hi alchymyth,
 * Thanks so much for the response – the weirdest thing is I just checked the site,
   albeit on a different computer, and the issue has some how resolved itself…. 
   I’ll keep this in mind if it ends up reverting back to the problem I was having
   for the last week.
 *  Thread Starter [Crozon1](https://wordpress.org/support/users/crozon1/)
 * (@crozon1)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755117)
 * Okay, I was wrong – it seems the problem only exists on my home computer – so
   it must have something to do with the resolution, or it was just a fluke that
   it didn’t exist on my laptop…
 * So I used alchymyth’s suggestions and did the following:
 * 1) Removed from my single.php:
 *     ```
       </div>
       </div>
       <div class="postfooter"></div>
       ```
   
 * 2) Added to my comments.php:
 *     ```
       </div><!-- #comments -->
       <div class="postfooter"></div>
       ```
   
 * Everything looks good now. Thanks so much!

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

The topic ‘RE: single.php – class=postfooter – Issue’ is closed to new replies.

## Tags

 * [post page](https://wordpress.org/support/topic-tag/post-page/)
 * [single.php](https://wordpress.org/support/topic-tag/single-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [Crozon1](https://wordpress.org/support/users/crozon1/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/re-singlephp-issue/#post-1755117)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
