How to place banner ads on header


#1

Hello friends,

I got a sponsored post. advertiser want to place (image with link) at the top of header.above or below menu.
advertiser gave me image and link. how can i place those image with link.

please help me. give me step by step process.

iam using genesis theme.

Thank you in advance.


#2

If you are Genesis user, there is a good plugin called “Simple Genesis Hooks”, you can use that to place ad in the custom location such. as Header.

A tip: Make sure to center the ad unit. So it will look better on mobile.

<div align="center">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Homepage Leaderboard -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1234567890123456"
data-ad-slot="1234567890"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>