[Resolved] AdSense Auto Ads Creating Whitespace

Home Forums Support [Resolved] AdSense Auto Ads Creating Whitespace

Home Forums Support AdSense Auto Ads Creating Whitespace

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #778197
    Justin

    Hi Guys,

    When inserting AdSense auto ads, whitespace is created above the ad in the header. I provided an example URL in the “admin only” field below.

    I saw someone else recommended the follow additional css. I tried it with no success.

    header div.google-auto-placed .adsbygoogle-noablate {
      margin: 0 auto !important;
    }

    Can you help?

    #778439
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    body .adsbygoogle.adsbygoogle-noablate {
        margin: 0 auto !important;
    }

    The default margin is written as inline style which makes it hard to overwrite so if the above doesn’t work then you will have to figure out a way to remove the inline style:
    https://www.screencast.com/t/eMi7477PViW

    Let me know if this helps πŸ™‚

    #778490
    Justin

    Bingo! Thanks, Leo. πŸ™‚

    #778618
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.