![]() |
How to remove gap between posts?
How can I remove gaps between posts? Like here on vBulletin.org there's a tiny gap between each post in a thread.
|
From the top of the postbits here:
HTML Code:
<!-- post #1524601 --> |
Thanks. I simply changed the postbit_wrapper so it said 0px instead of the variable. Do you know how I could make the padding apply only to the last post?
|
It looks like there may be a variable called "$threadinfo[lastpostid]" . So, just put in a conditional of if $postid equals $threadinfo[lastpostid] then whatever.
edit: Actually, looking further into showthread, it looks like you may be able to use $post['islastshown'] instead of the threadinfo one. I'd just play with it on a test site. |
I tried this but it didn't seem to change anything. ( The 'post reply' button and other content in that row is still too close to the last post ).
Code:
<!-- post #$post[postid] --> Never mind, I used the $post[islastshown] variable. |
Code:
<if condition="$threadinfo['lastpostid'] == $post['postid']"> |
All times are GMT. The time now is 08:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|