• Resolved hiltonmw

    (@hiltonmw)


    I’m using this shortcode with the suggesting div from the instructions page… and I’m seeing my content start right after a “-” on the same line as the Title of my post.

    Is there a way that I can get the post to start on one line below the title?

    Also, how would I add an extra paragraph break or a few line breaks between each post in the list?

    Thanks

    [display-posts include_excerpt="true" excerpt_length="100" excerpt_more=" ...Read More..." excerpt_more_link="true" image_size="thumbnail" posts_per_page="30" wrapper="div"]

    https://wordpress.org/plugins/display-posts-shortcode/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    You’ll need to add CSS to your theme’s stylesheet (or a Custom CSS plugin) to customize the look of the shortcode’s output. This should do what you’re looking for:

    display-posts-shortcode .listing-item { margin-bottom: 30px;}
    
    .display-posts-listing .excerpt-dash { display: none; }
    
    .display-posts-listing .title,
    .display-posts-listing .excerpt { display: block; }
    Thread Starter hiltonmw

    (@hiltonmw)

    Thanks. That’s mostly working. The only problem I have now is that, if the excerpt is longer than the height of the thumbnail that I’m using (which most are), the text flows down the right side of the logo and then under the logo.

    If possible, I’d like it to continue to be justified to the right of the logo, even after the text continues below the logo.

    Is that easily doable in CSS too?

    Thread Starter hiltonmw

    (@hiltonmw)

    If you need/want to see it in action, you can go to http://www.comperfection.com/posts

    Plugin Author Bill Erickson

    (@billerickson)

    While tweaks like this our outside the scope of the free support I offer, I had a few minutes between calls. Use this in your style.css file: https://gist.github.com/billerickson/52f9b7cf465ad5ec5f6ba90504777105

    Thread Starter hiltonmw

    (@hiltonmw)

    Thanks so much! looks great now! Appreciate you going Above and Beyond on this one!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Content start below Title’ is closed to new replies.