MyBB Community Forums

Full Version: Add more spacing to posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if I can add more spacing to each post. Like under the message typed. (For example this post)
Can you show us a screenshot of what you mean?
Go to: ACP > Templates > Your theme's templates > Postbit Templates > postbit > and find;
{$post['message']}
and add <br /> after that like this;
{$post['message']}<br /><br />

This'll make some spacing (One line break) under each post.
(2011-05-29, 12:57 AM)Yaldaram Wrote: [ -> ]Go to: ACP > Templates > Your theme's templates > Postbit Templates > postbit > and find;
{$post['message']}
and add <br /> after that like this;
{$post['message']}<br /><br />

This'll make some spacing (One line break) under each post.

If this is that what OP means, then it's a better idea to use css to add more margin to the post_body as you have more control over the margin. Go to AdminCP > Templates & Style > Themes > (click your theme) > global.css > Advanced Mode. Search for ".post_body" add a margin-bottom to it:
.post_body
{
     padding: 5px;
     clear: both;
     margin-bottom: 10px;
}