Remove blank ad space

Posted in: Newsmag
Post count: 93

Hi,

Is it possible that when google adsense does not have a ad to show on your website that it can be removed until it has something to show please?

Screenshot-1

Thanks

Post count: 35449

Hello,
Unfortunately our theme do not have a option like that, and I checked the most popular ads plugins and I do not see an option like the one mentioned, but I think that it can be done sing some jQuery to check the ads code, but for this you’ll need a developer.
Thank you!

Post count: 93

Hi Calin,

I have found a code that goes in the website header that does remove the blank space when no add to show… But it still show the title i use? is there away to hide that when no add to show please?

Screenshot-2<br />to upper case<br />

Thank you for your help as always

Post count: 35449

Hi,
I think that the code you have needs to be apply on a different class to can remove the ad title, or a different option to remove the title from ad blocks.
Thank you!

Post count: 93

Hi Calin,

The ad title is what i put in here? is there anyway to not show the title when there is no ad to show from google ads?

Screenshot-1

Post count: 35449

Hi,
Unfortunately, there is no option to hide the title if there is no ad to show, sorry.
I think that using a JavaScript to check the adsbygoogle and based on results to set a display non on that title, but for this I think that you’ll need a skilled developer, because this is not quite easy when it’s comes to adsbygoogle.
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.