Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

[Solved] File name label too long


DMITRY MAKAROV
Posts: 4
Customer
Topic starter
(@dmitry-makarov)
Member
Joined: 5 months ago

Если название загружаемого файла достаточно длинное, то его метка на форуме выглядит как одна строка без переносов, что портит дизайн страницы. Как мне это исправить?

2021 05 29 20 50 06
3 Replies
DMITRY MAKAROV
Posts: 4
Customer
Topic starter
(@dmitry-makarov)
Member
Joined: 5 months ago

If the name of the uploaded file is long enough, then its label on the forum looks like a single line without hyphenation, which spoils the design of the page. How do I fix this?

2021 05 29 20 50 06
1 Reply
Tom
 Tom
Admin
(@tomson)
Joined: 6 years ago

Support Team
Posts: 3719

Hi @dmitry-makarov,

Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, go to forum front-end and press Ctrl+F5:

#wpforo #wpforo-wrap .wpfa-item a span{
   white-space: break-spaces;
   display: inline-block;
   word-break: break-all;
   padding-right: 25px;
   text-align: left;
   vertical-align: middle;
}
DMITRY MAKAROV
Posts: 4
Customer
Topic starter
(@dmitry-makarov)
Member
Joined: 5 months ago

It works! Thank you very much!

Share:
Scroll to top