MyBB Community Forums

Full Version: Default theme: add space between posts in forum [Resolved, shows solution]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
G'day all,

Simple adjustment, I'm sure, but I have no idea where to look.

All I want to do is add a bit of space between posts in a thread.

Currently we have this:

[Image: i-wLnCVXF-L.png]

What I would like is this (maybe a bit more space, but this is the idea):

[Image: i-jM8JRvV-L.png]

Any ideas would be great.

Thanks.

(Yes, I've searched here and googled it, but maybe I'm using the wrong keywords...)
AdminCP > Templates > Your theme's templates > Postbit Templates > Open the following two templates;

postbit
postbit_classic

Wrap the complete code of these two template with;
<div class="postbit_margin">
... TEMPLATE"S CODE GOES HERE ...
</div>

Now open global.css stylesheet and add the following class at the bottom of it;
.postbit_margin{
margin-bottom: 20px;
}

You may change 20px to 30px depending upon how much margin/space you like to have. Smile
Ah mate, you're a genius.

I had looked in that template pair, but had no idea what to do.

Thanks again. Awesome help.