Sizing In-Feed Ads | WordPress.org

[ad_1]

Hi,

After trying a bunch of things, I finally realized my Adsense in-feed ad wasn’t showing between posts because there was no size designated for it.

However, you can’t set viewport widths in the Adsense settings and simply setting a fixed width is not responsive.

I tried using the CSS class for the ad inserter code block and then I tried wrapping the ad in a class, then setting responsive widths, but that was not working.

Is there a way to make Adsense in-feed ads so they’ll be around 330px (33.33%) on desktop but 100% width on mobile?

Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer