• Resolved arranrice2012

    (@arranrice2012)


    I use advanced ads to display ads within my articles.

    The issue I’m facing is that ads load slightly after my content does. This means you could be reading an article, and then the article suddenly gets pushed down a bit once the ad loads.

    I’ve entered in the size of my ad and ‘reserved’ space – so the content does not get pushed down, but space does not seem reserved?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi arranrice2012,

    thanks for reaching out.

    It sounds like the ad content is loaded form another server (e.g., when you are using an ad network) and that they need longer than your site to provide the ad content. In this case, there is nothing Advanced Ads can do.

    You can verify this by using the “Dummy” ad type. If that loads faster then the issue is not on your site.

    The “reserve the space” option works when you enter a specific height and width. If the ad is responsive then this wouldn’t work properly for all devices, though.

    Please let me know if either of my assumptions is wrong and send me a link to a page with the ad so that I can check it.

    Best regards,
    Thomas

    Thread Starter arranrice2012

    (@arranrice2012)

    Hi Thomas,

    Yes that is correct. So using reserve the space works, but ads are responsive. Is there any way to reserve just height, and the width can be variable?

    Thanks for your help! It’s really appreciated.

    Best,
    Arran

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Arran,

    the option currently needs width and height to work, but I will make a note to maybe change that.

    In the meantime, you can just add some inline CSS to the ad code field to set a minimum height. Do you know how to do that?

    Thanks,
    Thomas

    Thread Starter arranrice2012

    (@arranrice2012)

    Hi Thomas,

    I see okay.

    That sounds like a good idea, I don’t know how to do that though? Would you be able to provide the code here?

    Many thanks & best wishes,
    Arran

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Arran,

    the most simple solution would be wrapping your ad code in a container, like this:

    
    <div style="min-height: 200px">
    ...
    </div>
    

    ... is where you put your current ad code. You can change the value for the minimum height to your liking but should always check that it is not too large on mobile and desktop.

    Let me know if this works out.

    Best regards,
    Thomas

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

The topic ‘Ads pushing content down’ is closed to new replies.