MyBB Community Forums

Full Version: bottom half border?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
New Posts New Posts
Hot Thread (New) Hot Thread (New)
Hot Thread (No New) Hot Thread (No New)

No New Posts No New Posts
Contains Posts by You Contains Posts by You
Locked Thread Locked Thread

When you click a forum and go to the bottom you see all those icons as labled above. And alot of select boxes. How can I add a border and background to that area?
In forumdisplay_threadlist template, find:
<div class="float_left">
	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" title="{$lang->new_thread}" /> {$lang->new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" title="{$lang->new_hot_thread}" /> {$lang->new_hot_thread}</dd>
			<dd><img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" title="{$lang->hot_thread}" /> {$lang->hot_thread}</dd>
		</dl>
	</div>

	<div class="float_left">
		<dl class="thread_legend smalltext">
			<dd><img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" title="{$lang->no_new_thread}" /> {$lang->no_new_thread}</dd>
			<dd><img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" title="{$lang->posts_by_you}" /> {$lang->posts_by_you}</dd>
			<dd><img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" title="{$lang->locked_thread}" /> {$lang->locked_thread}</dd>
		</dl>
	</div>
	<br style="clear: both" />
</div>

<div class="float_right" style="text-align: right;">
	{$inlinemod}
	{$searchforum}
	{$forumjump}
</div>
<br style="clear: both" />
{$inline_edit_js}
You want to wrap around that code with:
<div style="border: 1px solid red">
  <!-- the stuff that is in the above code box -->
</div>
Weird, that is not adding the border. I forgot to mention I'm using 1.4.2.
Link to your forum ?
Oh, I'm sorry I forgot to link the theme to the template. My bad, now it works.