[Support request] Have all posts same size

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Have all posts same size

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20000
    paul
    Participant

    Hello – I am trying to keep all post boxes the same size, unfortunately when I have image floating to the left the post title changes the size of the box depending on its length. Is there any wat to truncate the text or limit the height of the boxes so they all maintain the same size?

    Also how do I put a private link in here with password?

    • This topic was modified 1 month, 4 weeks ago by paul.
    #20053
    Tom
    Keymaster

    Hi there,

    Would you want the text to just cut off at a specific width?

    You can send your link via our contact form, just be sure to include a link to this topic: https://wpshowposts.com/contact/

    #20059
    paul
    Participant

    I sent details in form. Thanks

    #20183
    paul
    Participant

    Hi – just following up on this- did you receive login details? Thanks

    #20213
    David Beckwith
    Participant

    Hi there,

    you can try this CSS to limit the Heading to 3 lines:

    .cat-home-wpshow .wp-show-posts-entry-title {
            line-height: 2.5ex;
            height: 7.5ex;
            overflow: hidden;
            text-overflow: ellipsis;
    }
    #20228
    paul
    Participant

    Hi David – that looks mostly good, only issue I see is that there is no eillipsis to show that the title is truncated. You can check the staging site as I have updated.

    #20390
    paul
    Participant

    Hi – any update on this? Thanks.

    #20394
    David Beckwith
    Participant

    Try this CSS instead:

    .cat-home-wpshow .wp-show-posts-entry-title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    #20396
    paul
    Participant

    Perfect. Thanks

    #20402
    David Beckwith
    Participant

    You’re welcome

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