Notifications
Clear all

wpForo 1.x.x [Solved] Limit length of link text?

3 Posts
2 Users
1 Likes
711 Views
Posts: 33
Topic starter
(@stan1z)
Trusted Member
Joined: 4 years ago

Hello,

Users of my forum often just paste looooong URLs into their posts, so wpForo convert them into links which text is equal to URL. As a result, long link text such as:

https://imgprx.livejournal.net/a4530c2cd56495b7edc790e0fa4f81b10eee6541/1JxmK9EcSTrnFQ5Y47jQKPJ3CNyUZjKkYbNKi0L00Cfz4YP9YLTMdYJbtJ1vpQtTVG86Yt34fmSpkEeW2sJOF6F5ijxoPAqxEbf9K51iJ5qmoclONHZPjfTBmZp6aNYkDIuJwvHwPY33zhbaBk

, that usually doesn't contain hyphens, breaks design of my forum. How can I make wpForo to cut long link text?

Addition: I've post this and seen that this forum splits long text to 3 lines... But my forum does not, for example: http://waralbum.ru/community/editors/long-link-text/

2 Replies
Alvina
Posts: 1869
Moderator
(@alvina)
Member
Joined: 4 years ago

Hi @stan1z,

The theme you use does not responsive, because of the table attributes has a fixed width, that caused the issue. See the screenshot below: 

It will be better if you contact with your theme developers and asked them to make it responsive.

Or you can switch on the another responsive theme.

1 Reply
(@stan1z)
Joined: 4 years ago

Trusted Member
Posts: 33

@alvina, thanks for discovering the problem. I've fixed it by adding "width: 730px" to "#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content" in style.css.