Solved: 6 Years, 10 Months, 4 Weeks ago set less lenght topic name
#1
Solved: 6 Years, 10 Months, 4 Weeks ago
Hello, i need help. How can i set less lenght topic name in index page last post. Where raicha post, there is to much width. Correct width is - Test and Viena ola.

Code in template [forumbit_depth1_cat]

<td class="tcat" width="100" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>


Picture:
http://www.bildites.lv/images/rrgew3eeok77s6sqvg9.png
Reply
#2
Solved: 6 Years, 10 Months, 4 Weeks ago
You could try playing with text-overflow.
Find me here or at my new blog about MyBB, Web Design, SEO
My Services
MyBB Themes
Reply
#3
Solved: 6 Years, 10 Months, 4 Weeks ago
Seems found solution. Smile

inc/functions_forumlist.php find
if(my_strlen($lastpost_subject) > 25) - Change to 15
$lastpost_subject = my_substr($lastpost_subject, 0, 25)."..."; - Change to 15.

Then width is correct when is to long text in index page "Last Post".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)