WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
[resolved] CSS Styling - Dotted Line Under Each Post (2 posts)

  1. horizon70s
    Member
    Posted 1 year ago #

    I wanted to add something like this after each post:

    <div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

    I've tried this in my theme (child theme of 2010) and it didn't work:

    .display-posts-listing li {
    border-bottom: dotted 2px #999;
    }

    Any recommendations on how this should style?

    BETA site at:

    http://www.sunshineshoppeblog.com/

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. horizon70s
    Member
    Posted 1 year ago #

    I got it working in case anyone is wondering. The only problem is it involved changing the plugin file.

    At the bottom I changed where it pulled the excerpt to:

    if ( $include_excerpt )
    $excerpt = ' <span class="excerpt-dash">-</span> <span class="excerpt">' . get_the_excerpt() . '</span>' . '<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic