Hi there!
In order to do this you first need to create a child theme. You can find instructions here.
Next, copy the header.php file from the parent theme into the child theme folder.
When you have done that you can add in your adsense code in the header.php file around line 60 before the <hgroup> tag.
Make sure to give your adsense code a class and then you can change the layout using CSS. For example:
.myadsense-code {
float: right;
margin-right: 20px;
}
I hope that helps!
Luke the Daft Duke
Thanks a lot for your reply.
This seems to be a difficult to follow for a newbie 🙁
There is not an option to change something directly on the header.php file so to have this working? Without install this things with chilt themes, please let me know thanks a lot.
I can’t think of a simpler solution I’m afraid, not if you want it in the header.
If you were willing to go with another location for it you could try this plugin: Google AdSense
🙂
I just added the adsence how you describe above and it works great until I add a logo, then the adsense disappears.
How can I use a logo and teh adsense code.
http://www.copingwithdivorceinfo.com
Thanks!
Scott