MyBB Community Forums

Full Version: add at top of page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
got a add on the page but want it at the top where do i need to put it?

thcchat.com

thanks
Above <div id="header"> in header template
hi

cant seem to see that in my header? as i want the add above the site logo right at top of page.

<div class="ima_ustkisim">
<div id="horta">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tbody>
<tr>
<td width="225px">{$welcomeblock}</td>
<td width="600px"><div class="ima_logom"><a href="{$mybb->settings['bburl']}"><img style="-webkit-filter: drop-shadow(0px 0px 5px #000); filter: drop-shadow(0px 0px 5px #000);" src="images/imadige/ima_logo.png"></a></div></td>
<td style="width: 225px;">

<div class="ima_sosyalaglar" align="right">
<a original-title="Facebook Sayfamız" class="ima_sosyalagimg" href="#" rel="nofollow" target="_blank"><img alt="facebook" src="images/imadige/icon_s/f-i.png" height="20" width="20" border="0"></a>
<a original-title="Twitter Sayfamız" class="ima_sosyalagimg" href="#" rel="nofollow" target="_blank"><img alt="twitter" src="images/imadige/icon_s/t-i.png" height="20" width="20" border="0"></a>
<a original-title="Youtube Kanalımız" class="ima_sosyalagimg" href="#" rel="nofollow" target="_blank"><img alt="youtube" src="images/imadige/icon_s/y-i.png" height="20" width="20" border="0"></a>
<a original-title="Google+ Sayfamız" class="ima_sosyalagimg" href="#" rel="nofollow" target="_blank"><img alt="google+" src="images/imadige/icon_s/g-p-i.png" height="20" width="20" border="0"></a>
<a original-title="Rss Beslemesi" class="ima_sosyalagimg" href="{$mybb->settings['bburl']}/misc.php?action=syndication" rel="nofollow" target="_blank"><img alt="feedburner" src="images/imadige/icon_s/r-i.png" height="20" width="20" border="0"></a>
</div>





<div class="ima_aramayap" align="right"><div>
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input name="action" value="do_search" type="hidden">
<input name="postthread" value="1" type="hidden">
<input name="forums" value="all" type="hidden">
<input name="showresults" value="threads" type="hidden">
<input class="ima_arama" name="keywords" value="" placeholder="Search" x-webkit-speech="x-webkit-speech" onwebkitspeechchange="this.form.submit();" type="text">
</form></div></div>



</td>
</tr>




</tbody>
</table>

<div id="ima_duypanel">
<div class="ima_duyurum">
<div class="ima_duyuruicon"><i class="fa fa-bullhorn fa-2x"></i></div>
<div class="ima_otomesaj">
<ul>
<li class="quotes">'Welcome to a Smokin Tokin Dabbin Jammin Website.</li>
<li class="quotes">Marijuana. Cannabis. Weed. Or whatever you call it, it's here.</li>
<li class="quotes">THC Chat the cream of the crop.</li>

</ul>
</div>

</div>
<div class="imc_hizlimenu">
<ul>
<li><a href="{$mybb->settings['bburl']}">Home</a></li>
<li><a href="{$mybb->settings['bburl']}/index.php">Forum</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php">Search</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php">Members</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help">User Settings</a></li>
</ul>
</div>

</div>

</div>

</div>




<div id="container">
<div id="Dabbing">
<div class="wrapper">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers}{myadvertisements[zone_1]}
Try adding it above <div class="ima_ustkisim">
bingo that done it thanks Wink

can i add a link to that add to the code?


<img src="http://www.thctalk.com/cannabis-forum/images/ads/Herbies5215.gif" alt="buy cannabis seeds" style="padding:5px;" title="buy cannabis seeds">

http://www.herbiesheadshop.com/

just temp till i get 1 from them
Yeah, just wrap it in <a></a>

<a href="http://www.mysite.com"><img src="http://www.thctalk.com/cannabis-forum/images/ads/Herbies5215.gif" alt="buy cannabis seeds" style="padding:5px;" title="buy cannabis seeds"></a>
<a href="http://http://www.herbiesheadshop.com"><img src="http://www.thctalk.com/cannabis-forum/images/ads/Herbies5215.gif" alt="buy cannabis seeds" style="padding:5px;" title="buy cannabis seeds"></a>

done that but page not available?
<a href="http://www.herbiesheadshop.com"><img src="http://www.thctalk.com/cannabis-forum/images/ads/Herbies5215.gif" alt="buy cannabis seeds" style="padding:5px;" title="buy cannabis seeds"></a>
thanks that done it Wink still a noob lol
You're welcome. If you want the page to open in a new window and keep the user on your site, use:

<a href="http://www.herbiesheadshop.com" target="_blank"><img src="http://www.thctalk.com/cannabis-forum/images/ads/Herbies5215.gif" alt="buy cannabis seeds" style="padding:5px;" title="buy cannabis seeds"></a>
Pages: 1 2