• Resolved ditryblog

    (@ditryblog)


    Great plugin! I am using the Widget for my blog as a “Featured Posts” section in the sidebar. However, some of my post titles might get too long to fit in the container box every now and then, and right now one example is just showing as cut off by the edge of the box. For titles that are too long, I’d like to apply an ellipses (“…”) to them. I know there is an option to change or replace the label for “read more” when it comes to excerpts, but is there a way to do this with titles?

    The page I need help with: [log in to see the link]

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

    (@kometschuh)

    To cut the title text with a ellipses you can try that CSS code:

    .cat-post-title {
        text-overflow: ellipsis;
        width: 100%;
        display: inline-block;
    }

    I would use that CSS code to have more than one title line, if the title don’t fit at one line. Than you can try that CSS code:

    .cat-post-title {
        white-space: unset !important;
    }
    Thread Starter ditryblog

    (@ditryblog)

    This is great, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post titles cut off’ is closed to new replies.