Support » Installing WordPress » Adsense Unit Cut Off on Stargazer Theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • Helly, Dinsan! I see you are using the quick adsense plugin. Simply go to the adsense plugin settings and replace your adsense code with the following.

    <div style=”float:none;margin:0px 0 0px 0;text-align:center;”>
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– GChrome-Comments –>
    <ins class=”adsbygoogle”
    style=”display:moz-block;width:336px;height:280px”
    data-ad-client=”ca-pub-30906677723#####”
    data-ad-slot=”4872089213″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    Just replace data-ad-client=”ca-pub-30906677723#####” with your existing ad-client ID. I blocked out the last 5 digits for your privacy.

    Let me know if this helps. thanks!

    Thread Starter dinsan

    (@dinsan)

    Hey,

    Thanks for the reply!
    Is it ok to modify the code?, like policy violation or something?
    Is there any other (better) way than Quick Adsense?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adsense Unit Cut Off on Stargazer Theme’ is closed to new replies.