Forum Moderators: martinibuster

Message Too Old, No Replies

An AdSense Block Breaks WP Template in Firefox

CSS Template Blowing Up

         

bambo

2:25 pm on Sep 26, 2008 (gmt 0)

10+ Year Member



I have a website that is driven by Wordpress. Using the Mandigo theme. I always had 3 adsense blocks/banner: 1 big long vertical banner at the side. And 2 horizontal banners in front and behind articles.

Suddenly my site doesnt show up anymore, I only see a white empty space. This only happens in Firefox.
When I remove the left sidebar ad, the problem is gone and the site works perfect. So that google ad is giving some problem somehow...

I allready regenerated the adcode in google adsense and tried that again. But the problem still occurs. I don't see an error either.

What can be the problem or how can I find it now?

martinibuster

3:46 pm on Sep 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The left sidebar ad is breaking your template?

bambo

3:49 pm on Sep 26, 2008 (gmt 0)

10+ Year Member



Yes, as far as I know it looks like that is exactly what happens. And then breaking it so badly that the whole site is empty/white and useless.

martinibuster

5:02 pm on Sep 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Are you using the 160x600 or 120x600 skyscraper?

Or are you using the 120 x 240 ad unit?

[edited by: martinibuster at 5:05 pm (utc) on Sep. 26, 2008]

bambo

5:03 pm on Sep 26, 2008 (gmt 0)

10+ Year Member



I am using the 160x600.
I also tryed the 120x600. Both worked before. Now both of them make problems.

martinibuster

5:09 pm on Sep 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It's a stylesheet issue, not an AdSense issue. You can try decreasing the size of your ad units, like using 120x600 and see if that stabilizes your template.

It could be something like the sections between the ad units aren't long enough and the length of the ad units is throwing off the CSS positioning for the divs that make up the content section. There's an inbalance in the divs that is causing the content to move around, slip down the page, or disappear. Some WordPress themes are coded sloppily and not tested enough. It's not unusual for them to break in IE 6, although they usually work well in FF.

Make sure you have the template set for a width of 1024 pixels and not the 800 pixel width. Maybe that might help.

bambo

6:56 pm on Sep 26, 2008 (gmt 0)

10+ Year Member



OK thank you. I am gonna experiment a bit.

What I don't understand: It worked some days before without problems! Suddenly the error came, but I didn't change anything as far as I know.
I try to reinstall the template too, or try an older or newer version. I will let you know the results.

martinibuster

7:14 pm on Sep 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



>>>It worked some days before without problems!

Did you have less or more or different content prior to this issue happening?

bambo

9:33 pm on Sep 27, 2008 (gmt 0)

10+ Year Member



I added one page, that means 1 extra line of text (url) in the menu.

Since you have noted it's a CSS problem instead of adsense problem I experimented a bit with the template. I disabled the template and then enabled it again. Unexpected but after that everything worked again without problems. (Other settings are still the same)

I think some weird bug appaered when writing the new post and creating the hyperlinks in the menu.
I will keep an eye on this.

Thank you for helping me solving the problem.