MyBB Community Forums

Full Version: Making global sideboxes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
May peace be upon you .
I don't know if this has already been posted or not.
This guide is about making a global sidebar
Add this code in the last line of 'header' template:
<div style="float: right; width: 80%;">

Add the following code in 'footer' template after
 This is free software, support us and we'll support you. -->

				<!-- End powered by -->

</div>
<div style="float: left; width: 20%;">
<table>
<tr>
<td class="thead"><strong>My Additional box</strong></td>
</tr>
<tr>
<td class="trow1">This is my first additional box using SideBoxes!.</td>
</tr>
</table>
</div>

That shall display the boxes on all pages. This method is useful for ads as the sidebox will load last.
If you want the sideboxes to be on the right, just toggle the direction in the <div> codes