Eliminating Background Color Appearing Around Google Adsense Ads.
After getting approved for Google Adsense, I started adding ads on my site.
But, when the ads started appearing I was astonished to see that the ads were not fitting, fully into the banners selected, and even responsive ad banners did not fit.
Then I started researching on the internet and YouTube tutorials. I found out we have to modify “ins. tag” in the theme editor- style css.
But I could not find the “ins tag “ in my child theme's- style css.
Finally, I decided to get support from the WA site support.
Unfortunately, they were only able to edit the Google add size fitting to the banner, and the background was still visible.
Finally I found out we have to paste the following code in Additional css :-
Paste the code, “ ins.adsbygoogle { background: transparent !important; } “
in the Dashboard->Appearance->Customize-> Additional CSS.
Finally, the background color around the ads disappeared. It took one and a half day effort to resolve this issue. I am sharing this because it may help anyone facing the same issue.

Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members
Recent Comments
3
A google explanation here!
Ad format
The size of the ads displayed on your site, for example, a 120x600 pixel skyscraper. All formats can be viewed on our example ads pages.
Different ad formats may support different ad types, such as text, image, or video ads. Ad formats also vary in the number of individual ads they display. For example, the banner ad format will display up to two ads horizontally across the page and the skyscraper will display up to four ads vertically.
Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members
That's great information.
Trevor