We're merging with GenerateBlocks! Learn more here.

[Resolved] Truncate post titles

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Truncate post titles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2327
    nictic
    Participant

    Howdy 🙂 I am looking for a way to truncate the post titles to a certain amount of characters or words in the post lists created with WPSP. Is there a way you know of? Using it with GP Pro.

    #2329
    Tom
    Keymaster

    Hi there,

    Good question!

    You can try something like this:

    .wp-show-posts-entry-title {
      width: 250px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    #2330
    nictic
    Participant

    Perfect! Thank you

    #2337
    Tom
    Keymaster

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.