Heh, I couldn’t understand,what do you want to do.
I want to make is the placement of a banner ad between my nav bar and my main post section
Is this “Data-Cube” your ad banner ?
Or you are talking about google ads or about something..?
Thread Starter
KarlR
(@karlr)
I’m talking about a Google add banner.
You should add the code in the header if you want it between your nav bar.
Thread Starter
KarlR
(@karlr)
Alright, so I think I follow. I need to edit the code in the header.php file to included my banner code. Here is what I have so far. I pretty much justcopied what the other entries in that .php file
looked like and threw my code it. It kind of works… The problem is that while the size and shape of the ad is displayed it doesn’t appear on my site.
<div id=”BanAd”>
<script type=”text/javascript”><!–google_ad_client = “pub-0162577004969841”;/* 728×90, created 11/26/09 */google_ad_slot = “2606563924”;google_ad_width = 728;google_ad_height = 90;//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div><div class=”cleared”></div>
you need to add some css properties to this in order to get it working.
Im not sure what css properties have to be added.
Maybe:
div#BanAd a {
display: block;
height: 90px;
width: 728px;
}
p.s try to add it in your style.css in the very end of code
Im not sure, but give it a try.Im not very serious wp master, you can see it from my avatar ^^
Thread Starter
KarlR
(@karlr)
Awesome, I got it working! Nothing to it and now I think I have a greater understanding of wordpress, php and css. Rate4d thanks for the help.
😉 You know, it’s great feeling then you can help someone, and the “thanks” you get is not just thanks, I can remember myself stuck with some code or smth.And I feel awesome after someone helps to solve that pain in the a.s.s I think other people feel it too.
Anyway, help someone in order to thank me for the help.If we all did so, there would be less unsolved problems, and we mustn’t to pay money to some asshole $10 for several css lines.. 🙂