WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
How to move title to left (3 posts)

  1. morandan
    Member
    Posted 1 year ago #

    Hi, I have read all through the forum but no one else has asked about this. Maybe it's a theme issue. I would like the title of the post to be left-justified, the same as the excerpt. Some of the titles are, but only because they are extra long. The shorter ones are being indented... looks like right-justified.
    See site here.
    Thanks

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

  2. morandan
    Member
    Posted 1 year ago #

    Ok, I got it! Just added

    a.title { font-weight: bold;
    	display:block;
    }

    However, now, there is a rather large gap between the title and the excerpt... any advice to shorten that up?
    Thanks!
    great plugin btw!

  3. RaymondDuke
    Member
    Posted 1 year ago #

    I had a similar issue except I wanted to add more space - here is what I did:

    .title {
    	display: block;
    	padding-top: 20px;
    }

    If you would like to shorten the space, I would change the 20px to a lower number - even a negative value (i.e., -10px).

    I'm not programmer, but I know a few tricks - this one might be one that helps you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic