Site logo

Archived topic

Styling comments

20 replies · Started by Raul on April 9, 2022

Viewing posts 16–21 of 21

Thank you very much. It works perfect now!

You’re welcome Raul! Glad to be of assistance! Feel free to reach out anytime you’ll need assistance with anything else. :)

I come with one more question related to the author on the left...
What is the CSS class name for the author's name? With this current styling if a commentator's username is-very-very-super-long, it will mess up everything. I have tried several classes and CSS as "width:70px; word-break: break-word;" but didn't work as expected :(.
Could you please help?

You have this CSS:

footer.comment-meta {
    margin-right: 20px;
}

Try changing it to:

footer.comment-meta {
    margin-right: 20px;
    min-width: 100px;
    max-width: 100px;
}

I have added "word-break: break-word;", tested with a super long username and works perfectly.
Thank you a lot!

Glad to hear that

This archived topic is closed to new replies.