Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: space between posts


chrishajer
Participant

@chrishajer

In your template’s topic.php, find the loop. It looks like this:

<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
<?php bb_post_template(); ?>
</li>
<?php endforeach; ?>

Right after the closing li, before the endforeach, add this:

<div style="height:100px;"></div>

Change 100px to whatever amount of space you want between replies. It will look like this when you are done.

<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<li id="post-<?php post_id(); ?>"<?php alt_class('post', $del_class); ?>>
<?php bb_post_template(); ?>
</li>
<div style="height:100px;"></div>
<?php endforeach; ?>

That will put some space between your replies and space the author info down as well, to keep it with the reply.

Skip to toolbar