WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Huge whitespace on SOME posts after content (10 posts)

  1. SforSteph
    Member
    Posted 1 year ago #

    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?!

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

  3. SforSteph
    Member
    Posted 1 year ago #

    Thanks for your reply.

    I've deactivated and now completely deleted the nRelate plugin - which hasn't changed anything :(

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It's still visible on your site - do you have any caching on your site or server?

  5. SforSteph
    Member
    Posted 1 year ago #

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

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    @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 -->

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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

  8. SforSteph
    Member
    Posted 1 year ago #

    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 :/

  9. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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 ...

  10. SforSteph
    Member
    Posted 1 year ago #

    Wow, that seems to have done it!

    Thank you so much for your help, you've saved my sanity :)

Topic Closed

This topic has been closed to new replies.

About this Topic