• Do not post forums in any language other than English. Moreover, political, religious and adult content cannot be posted. Requested not to spamming posts. Such posts will be deleted very soon.

How to Hide Empty Space When No AdSense Ads are not Available

Samantha Ryals

New member
I have a blogging website, which has approve AdSense ads. But sometimes I have seen some post doesn't show AdSense ads. For that AdSense place remaining empty space.
Which make my website looking bad. How can I solve this problem.
 

SeoToolsbuz

New member
Yes, You can able to remove that blank space, when AdSense ads are not available or shows.
For this go to your Web site head section. That means inside of <head></head>.

Then add the below internal css inside your head section:
<style> ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; } </style>

That means your coding will be looks like below:
<head> [........ All of your meta tags and css links here .......] <style> ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; } </style> </head>

I have seen, this concept is working perfectly.
 
Top