Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » Extra line break between posts in display list..?

  • Resolved freddiehcc


    Is it possible to add an extra line break in between posts in the display list?

    At the moment I am displaying the excerpt, and I would like to have a line break between the end of the excerpt and the title of the next post.

    Hoping this might be possible!


Viewing 3 replies - 1 through 3 (of 3 total)
  • ralphhahnnet


    I change line 556 in display-posts-shortcode.php:

    $excerpt = ‘ <span class=”excerpt”>’ . $excerpt . ‘<br/><br/><br/></span>’;

    Plugin Author Bill Erickson


    I don’t recommend directly editing the plugin file. Your changes will be lost with the next update to the plugin.

    A better approach is to use CSS. Go to Appearance > Customize > Additional CSS and add:

    .display-posts-listing .listing-item { padding-bottom: 24px; }

    Change the 24px to be larger or smaller depending on your needs.



    Yes, that’s always the better solution. I use the suggestion now in the child theme style.css.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.