Thesis is a wordpress framework, which is seo optimised and easy to use. If you don’t already use thesis, then I will recommended you to use thesis. It’s also easy to use and customised.
Today i will show you how i insert Adsense banner ads code in thesis header. It’s really easy to add Adsense ads in thesis header. Just follow the steps given below . You can see below image which is taken from my blog header.

How to Ad Adsense ads in Thesis Header:
For adding Adsense ads in thesis header we need to add some codes in two file. custom_functions.php and custom.css
1) Custom_functions.php
For adding Adsense ads in thesis header copy the code given below and paste in your custom_functions.php file.
function header_ad() {
?>
<div class="advert">
Paste Your Adsense Code Here
</div>
<?php
}
add_action('thesis_hook_header', 'header_ad');
2) custom.css file:
Then we need to add css code for this Adsense code placement. So the Adsense ads is show fine. Once again open copy the code given below and paste in custom.css file:
.custom .advert {
margin: -45px 0 10px 450px;
}
The code will not adjust with your every site. But don’t afraid, you can solve this problem just doing some change. Just tweaking margin. Change the value and you will get solution.
If you don’t fixed it, then I will be happy to assist you. Just comment here or Contact with me.