• Resolved allllo

    (@allllo)


    First of all thank you a lot for this great plugin!
    I was wondering if it is possible to limit the number of characters of the posts list and shorten it with “…” when it’s too long. I thought it might look cleaner that way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @allllo

    You’re welcome and thank you.

    You want to keep it from falling in 2 lines, correct? Character limit won’t work out since unless it’s a monospace font the width of characters varies. There’s also the issue of different amount of space available for different display sizes.

    But there is a way to achieve what you need with CSS. Add this in WP admin > Appearance > Customize > Additional CSS:

    .authors-list-posts-item a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    Thread Starter allllo

    (@allllo)

    Hey there @wpkube, I absolutely forgot to thank you, sorry!
    Thank you so much, it works like a charm!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Limit number of characters of posts titles’ is closed to new replies.