WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Huge whitespace on SOME posts after content

[Resolved] Huge whitespace on SOME posts after content

  • Hi there,

    I’ve been going round and round in circles with this for hours.

    On SOME posts (the first on the main blog page) and on SOME (most) single blog posts, there is a huge white space gap after the post content.

    I have gone through every theme page code, all the css, turned off and on all plugins, looked in Firebug… I’ve Googled and searched this forum but can’t find any of the usual culprits.

    This error occurs in Chrome, Firefox, IE8 and Safari on iPad.

    Here is the blog: http://armoirepegsandcasserole.com/

    and an example of a single post the white space occurs on: http://armoirepegsandcasserole.com/2013/02/08/chocolate-chip-cookie/

    Any ideas?!

Viewing 9 replies - 1 through 9 (of 9 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Looks like it’s from the “nrelate” plugin? (or is that part of the theme?) Can you or have you turned that completely off?

    Thanks for your reply.

    I’ve deactivated and now completely deleted the nRelate plugin – which hasn’t changed anything 🙁

    WPyogi

    @wpyogi

    Forum Moderator

    It’s still visible on your site – do you have any caching on your site or server?

    WP Super Cache is disabled – I’ve hard refreshed the blog in Chrome and nRelate is removed.

    Michael

    @alchymyth

    Forum Moderator

    @wpyogi is right – it very much seems to be triggered by the .nr_clear class of the ‘nrelate’ plugin (?) which is still totally active in the site;

    this added to style.css seems to solve it:

    #content .nr_clear {clear:none;}

    and the post is still served by the cache:
    <!-- Cached page generated by WP-Super-Cache on 2013-02-15 02:18:12 -->

    WPyogi

    @wpyogi

    Forum Moderator

    EDIT – good call Alchymyth (as usual 🙂 ) – hopefully that will solve it for you…

    This is the rendered HTML on the page – so something is still there –

    <p>Mel x</p>
    
    <div class="nr_clear"></div>
    	<div id="nrelate_related_1" class="nrelate nrelate_related nrelate_bty nr_1col nr_120"></div>
    	<!--[if IE 6]>
    		<script type="text/javascript">jQuery('.nrelate_bty').removeClass('nrelate_bty');</script>
    	<![endif]-->
    
    	<script type="text/javascript">
    	/* <![CDATA[ */
    		nRelate.domain = "armoirepegsandcasserole.com";
    		var entity_decoded_nr_url = jQuery('<span/>').html("http://api.nrelate.com/rcw_wp/0.51.4/?tag=nrelate_related&keywords=Chocolate+Chip+Cookie&domain=armoirepegsandcasserole.com&url=http%3A%2F%2Farmoirepegsandcasserole.com%2F2013%2F02%2F08%2Fchocolate-chip-cookie%2F&nr_div_number=1").text();
    		nRelate.getNrelatePosts(entity_decoded_nr_url);
    	/* ]]> */
    	</script>
    <div class="nr_clear"></div>

    looks like Super Cache is still on too:

    <!-- Dynamic page generated in 0.191 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2013-02-15 02:18:12 -->

    You could try resetting the plugins folder via FTP – sometimes a plugin won’t fully deactivate from the dashboard.

    http://codex.wordpress.org/Login_Trouble#Disable_Plugins

    Thanks guys – almost done it….!

    I thought it was going to be a clear issue, but couldn’t find it!

    I’ve reinstalled nRelate (which was obviously still there…) and put in

    #content .nr_clear {clear:none;}

    which has now moved the ‘You May Like’ title up, leaving the huge white space below that and above the related thumbnails :/

    Michael

    @alchymyth

    Forum Moderator

    alternatively, try:

    #content { overflow: hidden; }

    which, at least in FF17, seems to help; although I could not actually see anything sticking out from the #content div …

    Wow, that seems to have done it!

    Thank you so much for your help, you’ve saved my sanity 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Huge whitespace on SOME posts after content’ is closed to new replies.
Skip to toolbar