![]() |
WHen adding adsense code it distorts the design
Hey,
I have added adsense, both in the breadcrumb template and in the ad_global_below_navbar template but when I do it is making the navigation move into the header. Can anyone help with this please? I have left it in the ad_global_below_navbar template so you can see the problem. This is the code I am using: <p align="center"><script type="text/javascript"><!-- google_ad_client = "ca-pub-9222821431952789"; /* ICF - Hdr 728 */ google_ad_slot = "2541901540"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> --------------- Added [DATE]1416998770[/DATE] at [TIME]1416998770[/TIME] --------------- P.s. I also did it without <p> tags |
Does it do the same thing on a unmodified default style?
|
Hey ozzy,
This is the only modification made on the default design, everything else is default. Thanks :) |
Do you have a link to the forum where this issue is happening?
|
<a href="http://www.deuceace.com" target="_blank">http://www.deuceace.com</a>
the homepage you have set on this site is not working you need to update it |
Sorry, I thought I included a link!
Http://www.InternationalChatForum.com - Just testing it out at the minute so its all default apart from this one change Thanks --------------- Added [DATE]1417010690[/DATE] at [TIME]1417010690[/TIME] --------------- Its a new install with a database from vb 3.8 - So everything is as standard |
the footer code is messed up revert it and the code you have above make sure you add it to the bottom of the template
default below for google ads ad_showthread_firstpost_start Code:
<vb:if condition="$adsense_pub_id AND CONTENT_PAGE"> Code:
<vb:if condition="$adsense_pub_id AND CONTENT_PAGE"> Code:
<vb:if condition="$adsense_pub_id AND CONTENT_PAGE"> |
Thanks for the reply, I was just trying if adsense worked on the footer, I have it reverted to the default again but its the same problem.
|
above post updated
|
Thanks for the reply, just wondering what the "AND CONTENT PAGE" in the code is for please.
I have reverted all templates so its back to complete default now. I would like to have adsense on the header and footer of all pages. Thanks for the help :) |
All times are GMT. The time now is 05:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|