تقييد عدد الأحرف المعروضة في العنوان

Hello!

Please tell me how to limit the number of characters in a topic title when viewing a list of all topics.

إعجابَين (2)

There’s the max topic title length setting, but do you mean just to shorten the display in the topic list? (rather than actually limit the title length itself)

5 إعجابات

to

إعجاب واحد (1)

Yes, i need this

إعجابَين (2)

You can try this CSS. Adjust the width as you wish.

.topic-list-item {
    .link-top-line {
        max-width: 20em;
    
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
8 إعجابات

Thank you!

3 إعجابات

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.