I'm running a Drupal 7 site with a fluid grid. All of my blocks shrink or expand with browser width, except for the Adsense blocks. I've read that this is because Google ads come with set pixels, but is there a solution?

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

No, the maximum you can do is to center the ad in the block. The module provides an option for this.

The ad is an iframe with a fixed width that is created by the adsense javascript, so there's no way to change it and still try to be compliant with Google's AdSense TOS.

shrtfilm’s picture

That's too bad. The Adsense blocks completely destroy an otherwise beautiful layout. Thank you for your response.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

np