The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with google adsence intergration (Centering in navbar) - Please help!
Take a look at the site www.abforum.org
With the navbar adsence intergration it appears correct at full screen (on a 19" wide monitor), but when you slim it down the adsence box in the navbar appears to merge to the right. There is some kind of table blocking it from the left but i do not know how to change it so it stays centered on smaller monitors and when you adjust the size. (I think i need to change the width of the part that says australian business forum in the navbar) I have played around with every aspect of the code and it isn't that. There is something else that needs changing. PLEASE HELP! the code i used (Nuturalizer adsense intergration tutorial): Find: <!-- / PAGENAV POPUP --> </if> Add below: <table class="border" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr> <td class="alt1" align="center"> <script type="text/javascript"><!-- google_ad_client = "youradsensecode"; google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel ="yourchannelcode"; google_color_border = "F5F5FF"; google_color_bg = "F5F5FF"; google_color_link = "FF0000"; google_color_url = "000000"; google_color_text = "22229C"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> Please help guys.. Thanks in advance Dave --------------- Added [DATE]1209025766[/DATE] at [TIME]1209025766[/TIME] --------------- Please Help, I am desperate.. |
#2
|
|||
|
|||
There may be an easier way to do it, but here's how I did it.
Create a class in your css file Code:
.adcenter { text-align: center; } Code:
<div class="adcenter">ad code....</div |
#3
|
|||
|
|||
the best way to add ads in ur site is
go to navabar template go all the way down in the template type this <br /> <center> <<<<<your ad code here >>>> </center> <br /> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|