[SOLVED] Adsense sidebar widget troubleshooting
Hi all,
I got a strange troubleshooting using Adsense block in a widget sidebar. Loading the page, the block seems to display correctly but a the end of the loading or resizing (from time to time) the page, the Adsense block is truncated: white color recover partially on the right and on the botton. It looks like the widget was resized with a too small size. I tried to disable plug-ins but the same trouble lie. You can see this on http://www.2tout2rien.fr/ , looking at the adsense block on top right. It doesn't appear using another theme. Did this kind of problem appear to someone else using Montezuma? |
It looks like adsense wants more room than the theme gives it in the sidebar.
Try changing your template from an 8-4 grid to a 7-5. Here's a post about that. |
Thank for your answer but i had a look at some other blog using montezuma and adsense: they don't seem to have the same problem even they use the same grid and same adsense block.
May be i juste made a bad modification while customizing the CSS. Even you think it's clear how to change the grid with the documentation, it remains at this time very confusing for me. I need to understand correctly before trying :) |
Quote:
|
It doesn't look like the problem is with Montezuma. When I look at the widget using Firebug, I see a line that looks like this:
<iframe id="aswift_0" width="280" scrolling="no" height="233.33333333333334" frameborder="0" style="left:0;position:absolute;top:0;" name="aswift_0" ... When I use Firebug to change the width to 300 and the height to 250, which are the dimensions of the image, then the whole image appears. So I don't know if this is a problem with the QuickSense plugin or not. |
I tried first a simple text widget before quickadsense and the result was the same.
To avoid confusion, i just came back to a classic text widget. The Adsense block should be 300X250... |
OK, now I'm thinking the col4 column on the grid that you've chosen is too narrow, since it's a fixed 320px column, and with 20px of padding on either side, that brings the true width down to 280px, and I'm thinking maybe the AdSense script is setting the iFrame width based on that.
A few things to try. Probably the easiest is to try switching to a Responsive 100% grid and see if that solves the problem (although you may see the problem reappear at narrow browser widths). Or, as JerryC suggested, go into your index.php, single.php, and page.php settings and change from col8/col4 to col7/col5. Or custom code the widths, making sure the pixels all add up to 960 (including any margins you place on the columns). You said there were some other sites using Montezuma where it's not happening. Can you post a URL here so I can take a look at what they're doing? |
Effectivly, changing the column can make the full adsense be displayed.
After verification, the Ad i saw in another montezuma blog was a 250x250. May be i should reduce my block, but it's a bad news. :) |
In fact, troubles appear as the window is resized.
May be the best solution is to use a non responsive grid... and a mobile plugin. Wich is unnatural for this theme. |
Solved. It was in fact a widget call flexible recent post that causes this strange effect.
My bad. |
All times are GMT -6. The time now is 05:26 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.