Remove yellow background for Google Adsense ads that don’t fill all of intended space


Ever see an ad that didn’t fill the whole space it was intended for? Then the extra space changes an awful shade of yellow? Finally, the answer to this problem is as easy as adding a line of CSS.

Change the background color of the ins element in CSS to match the background color of your page and Voilà, the yellow has disappeared!

ins { background: #fff !important; }

I found that using the !important was necessary as well to ensure the yellow was always gone.

,

Leave a Reply

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