Log in

View Full Version : Banners on the side of my forum


DaVitsche
11-14-2012, 05:17 PM
We changed the width to fixed to allow banners being put on the side of our forum.

At first it looked like it worked when we put this code at the bottom of the template Navigation / Breadcrumbs templates > navbar

<div style="float:left;
margin-left:-160px;">
<a href="http://www.website.com"><img src="http://bannerlocation.com/banner.gif"></a>
</div>

<div style="float:right;
margin-right:-160px;">
<a href="http://www.website.com"><img src="http://bannerlocation.com/banner.gif"></a>
</div>

On the CMS (homepage) it shows ok, but on the forum it stretches the space between the breadcrumbs and the forum with the length of the banner.
Is our approach wrong? should we be putting the code in another template?

EDIT: added a screenshot

https://vborg.vbsupport.ru/external/2012/11/23.jpg

CAG CheechDogg
11-16-2012, 11:44 AM
Take a look at my small little Mod: https://vborg.vbsupport.ru/showthread.php?t=290404

DaVitsche
11-17-2012, 10:58 AM
thanks for the help!

CAG CheechDogg
11-17-2012, 02:04 PM
No problem buddy, did you get the desired results?