タイトルに表示される文字数を制限する

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.