We are using the ‘default header style’ so that we can put a 728×90 ad to the right of the logo. Works great for mobile as well since the header banner shows up there too. However, we also need to put two banners in the main column under the navigation (see screencap below).
Two questions:
1. Where do we put the ad code so that the two ads under the navigation show up all the time on pages accept when you scroll down and get just the menu?
2. These ‘under nav ads’ also need to show up on mobile devices

Hi,
You can use do_shortcode function and display 2 custom ads bellow the menu for all pages like this:
*edit header template that you use(I guess it is default) and add the code – http://screencast.com/t/aSDNZlOzk
<div class="td-container">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');?>
</div>
*use this custom css in Theme Panel > Custom Css – http://screencast.com/t/dFXToqBr
.td-header-style-1 .td-a-rec-id-custom_ad_1 {
float: left;
margin-right: 20px;
}
.td-header-style-1 .td-a-rec-id-custom_ad_2 {
float: left;
}
Please not that this is an example how this can be achieved. For non-adsense code we suggest to use this div container and add a specific image size for each device – https://forum.tagdiv.com/header-ad/
If you use adsense code you can control the size from Theme Panel for each ad spot – http://screencast.com/t/Nczvl9AbRGHY
If you don’t have basic php/html/css experience I suggest to hire a professional developer to do this for you.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
-
This reply was modified 10 years by
Alin [tagDiv].
Thanks for feedback. One more followup.
If we have a header banner next to the logo, I can go to my mobile and see that one.
If I have two side by side banners UNDER the navigation (using the code above), where on mobile will those turn up?
If I put in 10 side banner ads, where will those show up on mobile?
Ideally, the 3 banners by the navigation show up at top of mobile…then content, then the 10 side banners followed by footer banner, etc.
Is that correct? Is there a mobile test site where I can see where all the banners on a single homepage or post page show up?
Hi,
If you use the default header style(1) the header ad appears above the menu on mobile device. If you add more custom ads bellow the menu, they will show up bellow the menu also on mobile.
Regarding 10 ads in the sidebar, the sidebar was designed to be displayed after the post content on mobile device so the ads will appear after the content(more accurate bellow the comment area). On page depends how you create it, for example if you use 1 row and add blocks there like this – http://screencast.com/t/jQtOPTV2xW The Sidebar will appear on mobile after the last block element from 2/3 column(in my case block10).
You can create your page and check it, just resize the browser window to see how it looks on mobile.
Thanks!