Ads displaying

Posted in: Newsmag
Post count: 133

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

Post count: 9544

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.

Post count: 6535

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!

Post count: 133

ok thank you.. ! i have figured it out. thx for your help

Post count: 133

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..

Post count: 133

Another question , we have placed add to under the article bottom ad. 600×250 but it displays add 468×60 is there any restriction or why it show smaller ad then its added??
cheers
jan

Post count: 6535

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/wSLT6335http://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!

Post count: 133

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

Post count: 133

hello can you please let me know asap.. it very urgent matter for us.. as we need to get this othrewise we are risking to be banned from adsence:///

Post count: 133

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

Post count: 6535

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!

Post count: 133

Hi, thank you, this solution we have done alredy, but that means with each update we have to do this again and again, however i can live with it:) but you could put it on to next update.. i guess we all runing adsence and its seem to be necessery to avoind ban:)

Post count: 6535

Hi

Thanks for the suggestion, I’ve added it on our list and we will consider it for the next theme updates. We will be very grateful if you could send us a link with google policy in this regard.

Thanks!

Post count: 133

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

Post count: 6535

Hi

I’ve test this solution on my side and works fine: http://screencast.com/t/YywtNtgXhbkxhttp://screencast.com/t/z9vkc17cd
Please make make sure that you added the code as I indicated, clear all caches and test again.

Thanks!

Post count: 133

super, that works. cheers jan

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newsmag’ is closed to new topics and replies.