Why Adsense is displaying yellow color background for some of the ads

You might have seen adsense ads displaying a yellow color background in some websites even if you have not choosen the background as yellow for some of the ads


This is due to an issue with WordPress themes as they use ins tag to insert these ads into WordPress page. Luckily there is some workaround to prevent the color from displaying as yellow

If you are using Hueman theme, then you can to the customize option and add this additional CSS at the end


ins { background: transparent !important; }

This will prevent yellow background from appearing for any Google Adsense ads as shown below. If your website is a static css website then add this to the end..

Shan

I am a  Technical Architect who dabbles with different languages and technologies

You may also like...