Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter PaulDoesWP

    (@pauldoeswordpress)

    Never mind, I fixed it by adding this to my child theme’s style.css:

    .date {
        font-size: 85%;
        display: block;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    The display: block; is the cromulent line that forces the date to be on its own line.

    Thread Starter PaulDoesWP

    (@pauldoeswordpress)

    Resolved (unless someone has a more elegant solution. As far as I can tell, this does not affect any dates used elsewhere on my site).

    Plugin Author Bill Erickson

    (@billerickson)

    I recommend using .display-posts-listing .date instead, so it’s limited just to the shortcode output.

    Thread Starter PaulDoesWP

    (@pauldoeswordpress)

    Good recommendation. I will tweak my css accordingly.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Put date on a new line’ is closed to new replies.