Support » Plugin: Featured Posts Grid » [Plugin: Featured Posts Grid] Whitespace inside cell above thumbnail images

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chaser324

    (@chaser324)

    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.

    TheJudBuechlerExperience

    (@thejudbuechlerexperience)

    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";

    with:

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

    and the problem is fixed.

    Awesome plug-in BTW.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Featured Posts Grid] Whitespace inside cell above thumbnail images’ is closed to new replies.