Hi,
I would like to have in the ‘Article Bottom Ad’ two square google blocks nearby.
I created these two square blocks 336×280 and added them with extra code:
<div style=”float:left”> AD BLOCK </div>
<div style=”float:right”> AD BLOCK </div>
But it shows only one square block.
Could you please advise and help with the issue?
-
This topic was modified 10 years by
Novaque.
Hi
To display two ads by 336px width side by side it’s need a container by unless 672px. Now the post content container have 640px and changing it would require changing all theme’s elements which is a complex task and involve lots of customization in theme’s code. Unfortunately we cannot offer custom work at the moment so if you need this my advice is to look for a developer from sites like: http://studio.envato.com/ to do it for you.
Thanks for the message!
Hi
If you’re using adsense code a solution would be to add the code in Theme Panel > Ads section in theme’s custom ad spots: http://screencast.com/t/DjDIQo9UEc7 and use do_shortcode function in every post template files corresponding with the post template used – http://screencast.com/t/OnJ6x0h0Z to display the ads.
<?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"]');?>
Also you will need this custom css – http://screencast.com/t/uuiWen8QXqXg
.td-g-rec-id-custom_ad_1, .td-g-rec-id-custom_ad_2 {
float: left;
margin: 0 0 20px 20px!important;
}
Note that I didn’t test this on every post template so you may need additional customization and if you don’t know how to do it yourself I suggest to hire a professional developer from sites like http://studio.envato.com/ as we cannot provide custom work.
Thanks!