MyBB Community Forums

Full Version: How to place ad in mybb forum container stylesheet?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there something wrong with my code or do I need to install a plugin.

Here's what I put in Extra CSS Attributes
div class="admaintop">
<a href="http: //www.onemorelevel.com/game/pogo_swing"><img src="http://i1286.photobucket.com/albums/a614/riskymonk/2013a_zpsbe9f6ef5.gif" border="0" alt="Photobucket"/></a>" width="110" height="90" alt="Pogo Swing"></div>



and here's what I put in Full Stylesheet
.admaintop {
position:relative;
left:0px;
top:0px;
}

ive tried absolute
left:100px;
top:50px;
and even used minus to try and break out of whatever might be holding it.
(2012-12-20, 06:19 PM)riskymonk Wrote: [ -> ]Is there something wrong with my code or do I need to install a plugin.

First part you put somewhere in templates. (Templates & Style (top tab) -> Templates (left menu) -> Your template -> ect ect (chose there something))
(btw, Your first part should start with < before div which is missing)

The other part you paste at the end of '/cache/themes/themeX/global.css' file
or you can use template editor build in ACP of MyBB - chose Edit Stylesheet: Advanced Mode and paste it at the end of its contents.
(2012-12-20, 06:29 PM)avril Wrote: [ -> ]
(2012-12-20, 06:19 PM)riskymonk Wrote: [ -> ]Is there something wrong with my code or do I need to install a plugin.

First part you put somewhere in templates. (Templates & Style (top tab) -> Templates (left menu) -> Your template -> ect ect (chose there something))
(btw, Your first part should start with < before div which is missing)

The other part you paste at the end of '/cache/themes/themeX/global.css' file
or you can use template editor build in ACP of MyBB - chose Edit Stylesheet: Advanced Mode and paste it at the end of its contents.

Ok I've done that, thank you very much for your help. Do you know how to put ads within a category? I'd like to put an ad related to video games in the Games category. Then a computer related ad in the computers category and so on.

is there a plugin for this? because im starting to think what id like to do isnt possible.