MyBB Community Forums
Add space between Posts on Postbit? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Development (https://community.mybb.com/forum-105.html)
+---- Thread: Add space between Posts on Postbit? (/thread-216266.html)



Add space between Posts on Postbit? - Kioshi - 2018-03-10

How can I put space between each post, so instead of being stuck together like this:

[Image: IkWVyR9.png]

It'll have a bit of empty space separating each post from each other like seen here:

[Image: yWDHbIR.png]

My postbit templates are all default, I haven't changed anything besides changing Online/Offline to green/red text.

Ideas? I've made some attempts but all of which just ended up ruining the postbit all together, still learning theme design so yeh I've no clue how to do this.

Let me know.


RE: Add space between Posts on Postbit? - .m. - 2018-03-10

separating the posts can be done by simply adding a break line ( <br /> )
at the bottom of the postbit template & postbit_classic template

horizontal line ( <hr> ) or an empty div element may be also tried instead of break line
[eg. <div class="postsep"></div>]


RE: Add space between Posts on Postbit? - Kioshi - 2018-03-10

(2018-03-10, 03:09 AM).m. Wrote: separating the posts can be done by simply adding a break line ( <br /> )
at the bottom of the postbit template & postbit_classic template

horizontal line ( <hr> ) or an empty div element may be also tried instead of break line
[eg. <div class="postsep"></div>]

Tried both the <br /> and the <div class="postsep"></div>, neither of which worked. Any idea why? I even tried clearing cache and hard refreshing but still no difference at all.

Edit: Actually there's more space above posts now, so maybe I just need to tinker with the css or something. Will check back,


Alright yeah so it worked, I just ended up having to edit some css to get it to look how I was expecting it too. Thanks!