ad code placement
Started By dmacleo, Sep 19 2011 03:43 PM
21 replies to this topic
#1
Posted 19 September 2011 - 03:43 PM
has anyone tried placing an ad code between the header and navigation bars?
thought maybe if I could place it there I could get rid of the top header index one.
tried placing ad code near the logo area of ipb_styles.css but did not work.
thought maybe if I could place it there I could get rid of the top header index one.
tried placing ad code near the logo area of ipb_styles.css but did not work.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#2 Re: ad code placement
Posted 19 September 2011 - 04:01 PM
think I got it.
search for:
and paste ad code before that.
search for:
Quote
</div>
</div>
<!-- ::: APPLICATION TABS ::: -->
</div>
<!-- ::: APPLICATION TABS ::: -->
and paste ad code before that.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#3 Re: ad code placement
Posted 19 September 2011 - 05:39 PM
creates kind of an odd horizontal offset from logo I can't get my finger on.
think its something wit the google code itself needing a border or something.
w/o the ad the logo touches top bar and bottom bar, ad code causes the whole BG to expand a bit. both ad code height and the bg height are 60.
think its something wit the google code itself needing a border or something.
w/o the ad the logo touches top bar and bottom bar, ad code causes the whole BG to expand a bit. both ad code height and the bg height are 60.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#4 Re: ad code placement
#5 Re: ad code placement
Posted 19 September 2011 - 11:09 PM
yeah I'm going to setup against my test board, need to add another adsense target as I can't run same ads from 2 sites.
figured messing up test board is safer route :)
took me hour to figure out why ads were not working at all on test site LOL
figured messing up test board is safer route :)
took me hour to figure out why ads were not working at all on test site LOL
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#6 Re: ad code placement
#7 Re: ad code placement
Posted 20 September 2011 - 12:50 AM
:) just waiting for the ads to become active now. sometimes is fast sometimes takes hours ...waiting game :)
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#8 Re: ad code placement
Posted 20 September 2011 - 08:45 PM
not sure why but test site isn't grabbing ads so I re-enabled it on main one.
I feel there is some small clarifier I am over looking but I can't seem to find it.
edit: I also noticed this tops the ipblog logo when viewing blog page so may be related to something there.
I feel there is some small clarifier I am over looking but I can't seem to find it.
edit: I also noticed this tops the ipblog logo when viewing blog page so may be related to something there.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#9 Re: ad code placement
#10 Re: ad code placement
#11 Re: ad code placement
Posted 21 September 2011 - 01:34 AM
ok thats odd above.....
I am wondering if maybe I need to create a css class for ad placement there and then call it with a div tag using relative positioning but I think any div tag in that area would waways place it below logo.
I am wondering if maybe I need to create a css class for ad placement there and then call it with a div tag using relative positioning but I think any div tag in that area would waways place it below logo.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#12 Re: ad code placement
#13 Re: ad code placement
Posted 21 September 2011 - 11:54 AM
well thats just odd, I checked guest on 3 browsers.
will setup test account so you can login and see.
don't suppose you have adblock or blocking any javascript?
will setup test account so you can login and see.
don't suppose you have adblock or blocking any javascript?
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#14 Re: ad code placement
#15 Re: ad code placement
Posted 21 September 2011 - 12:08 PM
adblock was why I wasn't seeing it on my test board. I keep forgetting how well that works LOL
see how messy that looks? trying to use the real estate up in that area for the stuff and not use normal method which adds to height of board as a whole. getting ads there and some other stuff into header bar works well for me.
see how messy that looks? trying to use the real estate up in that area for the stuff and not use normal method which adds to height of board as a whole. getting ads there and some other stuff into header bar works well for me.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#16 Re: ad code placement
#17 Re: ad code placement
#18 Re: ad code placement
Posted 21 September 2011 - 11:54 PM
yup sure do :)
oh you want it posted? :) :)
oh you want it posted? :) :)
<script type="text/javascript"><!-- google_ad_client = "ca-pub-5675008074093161"; google_ad_slot = "3845316935"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
#19 Re: ad code placement
#20 Re: ad code placement
Posted 22 September 2011 - 12:01 AM
just paste that, in the actual ad section on ad options I forget exactly where it places it but it just expands space between the nav bar and forum top and inserts.
I did not think to check whether it uses a distinct css class there though.
I did not think to check whether it uses a distinct css class there though.
Dave Macleod
www.davemacleod.net
Conservative Postings.
www.davemacleod.net
Conservative Postings.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users




















