Featured Posts Grid
Whitespace inside cell above thumbnail images (3 posts)

  1. dpanitz
    Posted 3 years ago #

    There is a big chunk of space at the top of each cell, above the image. That is, the image won't flush with the top of the cell.

    No matter what image options I change, I can't get this space to go away.

    Am I missing something simple?


  2. Chaser324
    Plugin Author

    Posted 3 years ago #

    Likely something odd going on with the styling on the <img> due to some of your theme's CSS. Point me in the direction of where it's occurring, and I'm sure we can figure it out.

  3. TheJudBuechlerExperience
    Posted 2 years ago #

    I ran into this as well. Inside featured-posts-grid.php you are adding linebreaks after each string concatenation. The line break after the "a" tag is turning into an HTML "br" tag. This is causing the empty space to be above the image.

    Just replace this line:

    $output .= '<a href="'.$post_permalink.'">'."\n";


    $output .= '</a><a href="'.$post_permalink.'">';

    and the problem is fixed.

    Awesome plug-in BTW.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Posts Grid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic