• Resolved freddiehcc

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

    Thanks.

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

    (@ralphhahnnet)

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

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

    Plugin Author Bill Erickson

    (@billerickson)

    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.

    RaHa

    (@ralphhahnnet)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Extra line break between posts in display list..?’ is closed to new replies.