This lesson will help you to remove the yellow box or background that appears under the Google adsense ads on your wordpress blog.
Yellow background for Adsense ads is the colour that appears before the ads shows.
Sometimes, it appears alone side with the ads as background colour or frame.
How To Remove The Yellow Background From Your Adsense Ads
Recently, I noticed a yellow background colour on my adsense ads. It is terrible, isn’t it and it doesn’t good for users experience.
Don’t worry if you are experiencing the same issues. Here’s the solution to yellow background colour for adsense ads.
Goto WordPress dashboard – Appearance – Customize – Additional CSS
Then, Add the following to your CSS:
background: transparent !important;
Just copy and paste the code in your additional css.
It simply makes background of Google Ads transparent.
The code is doesn’t violate Adsense policy? Add the code to your additional css, problem solve.
REASONS FOR THE YELLOW BACKGROUND COLOUR BEHIND MY ADSENSE ADS
The reason for the yellow background is that AdSense displays an ad unit smaller than the space you defined for the ad.
This constellation often happens with responsive ad units. But sometimes AdSense also shows smaller creatives within larger fixed ad spaces.
The background color doesn’t come from AdSense or any plugin. It is your theme that causes this background. This background doesn’t need to be yellow. It can also have any other color.
The “typical” yellow background that you see in the example above is the background color set by some of the standard WordPress themes for the <ins> tag.
Read more for reasons – Why is the yellow background color behind my AdSense ads?