Viewing 5 replies - 1 through 5 (of 5 total)
  • add css white-space: normal;

    Hi, @asderbase .

    I’m sorry to hear you’re having difficulty with displaying long words in the widget comment excerpt. Thanks for getting in touch so we can help you sort it out.

    I appreciate your having included a screenshot of the issue as well. I see what you mean and I’ve confirmed this on a test site.

    To resolve this, please could you try using the following custom CSS, which you can copy and paste in your site’s Customizer (under Appearance > Customize > Additional CSS):

    span.comment-excerpt {
       word-break: break-all;
    }

    I hope this helps. I have confirmed the above to work on a test site. Please let me know how it goes on your end. I’ll mark this thread as resolved for now.

    Best regards and Happy New Year!

    Hi, @thomaz666 .

    Thanks for chiming in to help!

    Please may I know if the custom CSS that you suggested worked for you? I tried it on a test site on my end and unfortunately, it appears to be incomplete and I am unsuccessful with my attempts to complete it. What was the complete CSS that worked for you on your site?

    Happy new year and thanks in advance!

    Thread Starter asderbase

    (@asderbase)

    Thanks!
    Can I use this custom CSS?:

    .comment-excerpt {
        word-break: break-word;
    }

    Hi, @asderbase .

    Thanks for your reply. I believe that might also work. You can use whichever works best for you on your site.

    Cheers,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wrap long words on a new line’ is closed to new replies.