• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Responsive Adsense, mobile padding problem?

PVO_Dave

Active member
#1
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
#2
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.