The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to make DFP ads responsive?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #161240

    I had several ads in the right sidebar of my blog. The AdSense ads, and all other images in the sidebar, are responsive and the size changes to fit the browser window.

    The two ads served through DFP, the ads for “20 Jeans” located at the top and bottom of the sidebar, are not responsive.

    I’ve checked in DFP and there is no “responsive” option. Is there a CSS code I can add to my stylesheet that will force the images in these ads to be responsive?



    Probably not…it looks like they are fed in through an iframe. Although you could make the iframe responsive (possibly) you would not be able to affect the content inside it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.