hello guys, i have issue with my adsence ads.. its displayin very close to main menu http://screencast.com/t/87MLfdB6nsRu
do you know how to fix this? id need to display the ads few pixels under the main menu.
thank you
jan
I think what I did was add a CSS to add padding to the top of the div where the ad is loaded. I don’t have the CSS handy for that, but TagDiv can provide if you don’t know how to sort that on your own using something like the Chrome/Console to see the div class for the ad block in header.
Hi
I’ve checked your site and the header ad is displyed fine: http://screencast.com/t/RryCemmFxj If you want to increase the distance between the ad and menus use this custom css in theme panel > custom caa and modify the margins values as you like: http://screencast.com/t/1wq4aRTow
.td-header-sp-ads {
margin-bottom: 18px;
margin-top: 18px;
}
Thanks!
One more question for you guys. i need to add a sign to add block “advertisement” – “reklama” how do i do i? WE are also using child theme so please if there is FNC which we can hook on let me know… here is banner and the way how it should look like http://screencast.com/t/An39RJ7N..
Hi
I am not sure what you mean, but if you want to set a title for the ad block that can be done in Visual Composer like here: http://screencast.com/t/wSLT6335 – http://screencast.com/t/9dGFTjlXd6iR If this is not what you mean please provide more details.
The theme render google ads so if you set a custom value in theme panel, the ad’s size should change according with your settings. Try to clear all caches and test the site again again.
Let me know how it goes.
Thanks!
Hi i got this, however i am addin ads from theme panel and there is no such a option
http://screencast.com/t/wIHhdbKsg0ap
i need to get title for the ad within post.. the ad is bottom ad.
thank you
jan
i have figure it out this way as temp solution
//add bottom ad
if (td_util::is_ad_spot_enabled(‘content_bottom’) and is_single()) {
$content = $content . “<div><small>Reklama</div></small>”;
$content = $content . td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘content_bottom’));
}
however after each update it will be deleted.. is there any hook from child thene to call this?
cheers
jna
Hi
Sorry for the delay but we don’t work in weekend!
Unfortunately there isn’t a simple way to add a hock in child theme for that change, but you can simplify this process by adding this parameter in td_module_single_base.php: http://screencast.com/t/5RUbuKghh
Thanks!
Hi andrei, i have tried your code but its not working tho.. i have use mine and that ok.
$content = $content . “<div><small>Reklama</div></small>”;
can you send me the code so i cna just copy that and paste it. or please review whether the code you have sent me is ok.
cheers
Hi
I’ve test this solution on my side and works fine: http://screencast.com/t/YywtNtgXhbkx – http://screencast.com/t/z9vkc17cd
Please make make sure that you added the code as I indicated, clear all caches and test again.
Thanks!