The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vb5 Search Module - Latest forum posts widget, How to add more lines?
Dear vB5 users!
Please help me how can I set the Search Module in vB5 to display more than 1 lines. I would like to display my Latest forum posts and it shows only 1 line for Title, 1 line for Author, and 1 line for the post's text. I would like it to display more lines like it was in vB4: (also for Title) Any help appreciated. Thanks, Steve |
#2
|
||||
|
||||
Add this custom CSS in css_additional.css template in AdminCP or in Sitebuilder > Style > CSS Editor.
Code:
.b-post-sm__title, .b-post-sm__post-content, .b-post-sm__author { white-space: normal; word-break: break-all; } |
Благодарность от: | ||
Steven G |
#3
|
|||
|
|||
Hello Noypiscripter,
Wow. Thank you very much. It Works. The Latest forum posts widget is now super. And I know now where to put the custom css codes later. I have another problem because of this change, it affects every widget, that now the Latest Articles widget contains too many lines. (20 lines as in the preview break on the Articles page - and that is too much) Is there a simple solution to reduce the number of the displayed lines to 3? I've tried to insert different Line Clamping codes from the web (just copy and paste) but it doesn't have any effect. Maybe because I am not a programmer and do it in the wrong way. Thanks, Steve |
#4
|
||||
|
||||
Line clamping in CSS is only supported in webkit browsers. So only in Chrome, Safari and Opera. Not Firefox and IE.
|
#5
|
|||
|
|||
Ok. I see vB4 also has a Latest Articles box with too long text. So only this two option exist 1 line or too long text. I think I'll choose the longer descriptions. Thanks, for your help.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|