I’m setting up a new site and want to include an Adsense ad on the right hand side at the top of each page. From what I can tell, the code can be entered in any of the following simple hooks for it to appear where I want it to:
The problem I’m having though is that this is shifting the rest of the text to the left the entire way down the page. You can see an example here http://leechildbooklist.com/lee-child-die-trying/
Is there some kind of additional code I need to include to stop it from shifting it to the left? The code I’ve entered is:
<div style=”margin: 5px; float: right;”>
google_ad_client = “ca-pub—————-“;
/* Book List 300×250 */
google_ad_slot = “5141080867”;
google_ad_width = 300;
google_ad_height = 250;
n.b. I’m using the Sample child theme if that makes any difference.http://leechildbooklist.com/lee-child-die-trying/
Do you want it at the top of each PAGE/POST or at the top of the Page/Post inside the CONTENT area – for example, you open up a page/post and within the confines of the content – you’ll see that add on the right?
I’d assumed that they were the same thing, so I’m not too sure what the difference is between the two. I guess out of the two though, I’d want it to display within the content area.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.