How to remove yellow background from Adsense Ads

After placing Google Adsense code on your site, you might notice a yellow background around the Ads, this usually happens with automatic sized ads and often not desirable.

The yellow box is as a result of Google ads using up less space while displaying automatic sized ads.

How to remove the yellow background with Custom CSS.

You can remove the yellow background around your Adsense Ads by placing a css code in the customize area of your WordPress theme appearance.

Go to Appearance >> Customize >> Additional CSS and place the following code.

ins.adsbygoogle { background: transparent !important; }

This makes the background color transparent like this

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *