Support » Fixing WordPress » removing blank lines – sticky post

  • Resolved easylifespain


    I have recently learned how to prevent meta-data and categories from being displayed on a sticky post.
    This has left some blank lines that i need to remove.
    I’ve searched the codex and google but am not sure.
    Any ideas?
    The blank lines can be seen here

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think give ur div “branding” a height same as the image and the white space will go off.


    Hi Vishal,
    The space is below the stick post so modifying the banner height will not give me the effect i want.

    I’ve reduced the padding in .hentry, which has helped a little but i still have a space left by the removal of the cat-links.
    The cat-links were removed by adding <?php if( !is_sticky() || !is_home() ) :?> to loop.php.
    Anyone know how to remove the space remaining?

    Hi easylifespain,
    I am guessing you want the article Welcome to “Mijas Guide” to be more compact. Add this in ur css

    .home .sticky {height: 110px;)

    if this does not do for you then take a screen shot of your site and then color which white space you want to remove.


    That did the job, so simple in the end.
    Thanks Vishal

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘removing blank lines – sticky post’ is closed to new replies.