Adsense Ads in Sidebar Cut Off on iPad

Sparkling is a great theme but I am having a problem with the page layout.

On the desktop everything looks fine but not so on the iPad.

The Adsense Ads overflow the edge of the sidebar and are not displaying fully (see attached screenshot).

How can this be resolved?


Fixing this issue is very simple. optimise your adsense ad code.

set width:300px;

Example below:

<script async src="//"></script>
<!-- 320wali →
<ins class=“adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

@supertrooper Have you tried using the solution shared by @rax22 in the above reply?

The only problem with this approach is that the ads are then too small on the desktop browser. In the meantime I discovered that Google AdSense now offers “Responsive Text and Display” Ads. These ads adjust themselves to the space available.

This means that with a responsive theme like Sparkling, which adjusts its width according to the device, the ads also adjust automatically to match the width on the device.

Thanks for your great support.

You are always welcome here :slight_smile: