• I added an adsense 160×600 sidebar ad to my sidebar on my blog, but only part of the ad is showing. Any ideas to what could be causing this? Im kinda new to wordpress. Here is my blog 365fact.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having same problem with my site. Only half of the ad is showing and yellow background on other half. You can see the problem here. Check on header and sidebar.

    zacs2k: i added an adsense 160×600 sidebar ad to my sidebar on my blog, but only part of the ad is showing. Any ideas to what could be causing this? Im kinda new to wordpress. Here is my blog 365fact.com

    I think there aren’t problems there. Everything is showing correctly.

    prionkor: i am having same problem with my site. Only half of the ad is showing and yellow background on other half. You can see the problem here. Check on header and sidebar.

    You have to completely remove these lines in style.css:

    ins {
    background: #FF9;
    color: black;
    text-decoration: none;
    }

    and

    img, iframe {
    max-width: 100%;
    width: auto;
    height: auto;
    }

    This should fix everything.

    @prionkor,

    Are you using any plugin to place AdSense ads? Or, are you placing the ad code in a text widget?

    @milmor:

    Thanks and Fixed! The problem was setting width and height of iframe to auto. So i had to change this css

    img, iframe {
    max-width: 100%;
    width: auto;
    height: auto;
    }

    to this:

    img{
    max-width: 100%;
    height: auto;
    }
    
    iframe{
    max-width: 100%;
    }

    the <ins> tag is inside the iframe and pushed by google and it don’t need to be changed.

    Are you sure it come from Google?
    This is your Css and the line:
    ins { background: #ff9; color: #000; text-decoration: none; } come from it! Also if the tag is pushed from Google, your website overrides its style…

    @milmor: yes, there is some code on css that styles it (which doesn’t cause the problem though) but the <ins> tag injects by google.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adsense only half showing?’ is closed to new replies.