• Resolved sladeetal

    (@sladeetal)


    Hi I have 2 sites and my googles ads won’t work on the side bar. They are working on the main (center) of pages.
    Does anyone know why?
    [ Links deleted ]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That’s really something you want to take up at Google’s Adsense forum.

    http://productforums.google.com/forum/#!forum/adsense

    Thread Starter sladeetal

    (@sladeetal)

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    How did you insert the ad into your sidebar? If you used the plain text widget, that works.

    Looking at the HTML source code there is no ad in the sidebar.

    Thread Starter sladeetal

    (@sladeetal)

    It appears that the wordpress site has 2 ways to insert the ads
    Headlines enhanced has a “replace affiliate urls” option.
    And an appearance-widgets. I removed the ad from the replace affiliate urls section and added a text widget through the appearance option.
    The html code seems to be working for the fastdietingtips.com site.

    <div id="sidebarfeatured" class="col-right">
    
    	<!-- Widgetized Sidebar -->	
    
    	<div id="text-7" class="widget widget_text"><h3>Lose Weight Fast</h3>			<div class="textwidget"><script type="text/javascript"><!--
    google_ad_client = "XXXXXXXXXXXXXXXXXXXX";
    /* diet tips */
    google_ad_slot = "xxxxxxxxxxxxx";
    google_ad_width = 300;
    google_ad_height = 250;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></div>

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It appears that the wordpress site has 2 ways to insert the ads

    WordPress doesn’t have any way to insert ads, but you may find many ways to do it. 😉

    The text widget accepts HTML code, check what you are doing and make sure you save your changes.

    it seems to be a weird problem with your theme’s formatting:
    in style.css, find:

    .widget iframe {padding:5px 0; z-index:-100; display:block;}

    as this is a problem with your theme, and you are using a commercial theme by woo themes, please contact the theme’s seller for support.

    not a WordPress problem per se.
    also, this forum does not and cannot support commercial themes.

    [btw: moved to ‘How-To and Troubleshooting’]

    Thread Starter sladeetal

    (@sladeetal)

    Hi
    Your were right. Who would have guessed? I removed the .widget iframe {padding:5px 0; z-index:-100; display:block;} and now the add is working.
    Thanks for your help.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Google ads won't work?’ is closed to new replies.