Support » Plugin: WP Responsive Recent Post Slider/Carousel » limit characters in title

  • Resolved acceleratechange

    (@acceleratechange)


    For the carousel, is there a way I can set a limit on number of characters that display for the title? (Followed by ellipses.)

    My carousel is uneven-looking because some titles are longer than others, making those divs are taller than the others.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rafik

    (@rafikwp)

    Hello,

    Please share your page link and shortcode, We will check and provide you solution.

    Thanks

    Here’s an example:

    https://revolutionenglish.org/

    The shortcode I’m using for the carousel section is:

    [recent_post_carousel design=”design-2″ show_content=”false” limit=”6″ category=”209″ query_offset=”5″ slides_to_show=”3″ dots=”false”]

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    You can try this CSS.

    Go to Admin Panel->Appearance->Customize->Additional CSS and add below CSS

    .wprpsp-recent-post-carousel h2.wprpsp-post-title a
     {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%;
        display: inline-block;  
     }

    Thanks. I realized that it makes more sense to have the height of all post columns be the same – as in, the height of each post column would automatically be set to the height of the tallest column. Is there a way to do that? I tried your solution but it looks odd to have the titles cut off after only 1 line, since none of them are that short.

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    Sorry for the inconvenience this functionality is not available in our plugin.

    Thanks

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