XF 1.2 Responsive Adsense, mobile padding problem?

PVO_Dave

Active member
Hi All,

I'm so close to upgrading my main forum to 1.2 now, just finishing off a few things on my test forum to migrate some of the changes made.

Following the great guide @Brogan I have my responsive Adsense code all setup, it works great on my iPad, but when testing on my iPhone the adverts are always too wide for my screen.

Any ideas how I can work around this?

image.jpg image.jpg

Thanks,
Dave.
 

Brogan

XenForo moderator
Staff member
You will need to use narrower ad units.

The iphone screen is 320px so you will need an ad unit narrower than that due to the side margins.
 

PVO_Dave

Active member
Thanks Brogan, do they actually do one though? I thought 320 x 50 was the smallest - I'll investigate.
 
Top