Problem with responsive ads
-
First of all, thanks for this theme. It’s extremely well-done and looks great.
I have a problem with the implementation of responsive ads in mobile views. I’ve tried putting ad code in the PHP files themselves and also using the Ad Injection plugin. The problem I’m running into is that for ads that appear in the post body (i.e. above of below post content), the expanding sidebar is causing Google to see the width of the page as wider than it actually is, so instead of getting a 300×250 size ad in mobile view it’s dropping a 728×90 ad which gets cut off because the page width isn’t anywhere near 728 pixels.
So I was wondering if there was a patch, workaround, or fix for something like this. Every other WP theme I’ve used implements this correctly; on wider desktop screens the ads display at 728×90 or larger, and in mobile view it drops to 300×250.
I don’t want to turn off sidebars in mobile view because they contain essential site navigation.
- The topic ‘Problem with responsive ads’ is closed to new replies.