Limiter le nombre de caractères affichés dans le titre

Hello!

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

2 « J'aime »

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 « J'aime »

to

1 « J'aime »

Yes, i need this

2 « J'aime »

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 « J'aime »

Thank you!

3 « J'aime »

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