Container of sticky ads

Posted in: Newspaper
Post count: 14

Hi, I have problem with sticky ads. check https://ibb.co/J3MKMrv

The ad has a higher ad container than expected. This code works well on other themes from the blog that I manage. Can you give a solution so that the sticky ads container is high according to the ad? Thank you for the help

Post count: 23312

Hi,

Please provide your website URL so I will be able to provide a more accurate response.

Thank you!

Post count: 14

Hi catalin, Please chec it https://www.warnabiru.com/instal-dan-update-pubg-mobile-tanpa-download/?amp

how to make the box sticky add fixed size 320×50? So I hope to get a solution from you as soon as possible

Post count: 20688

Hi,

So you are referring to this ad? – http://prntscr.com/nuvjr9 it looks alright to me at the moment. How are you implementing that ad? The theme provides a section for AMP auto ads only.

Thanks

Post count: 14

Yes.. I implemented it by entering the code on the hearder ads on mobile theme:

<async custom-element = “amp-sticky-ad” src = “https://cdn.ampproject.org/v0/amp-sticky-ad-1.0.js”&gt; </ script>

And entering this code on amp ads im theme panel:
<amp-sticky-ad layout=”nodisplay”><amp-ad data-ad-client=”ca-pub-xxxxxxx” data-ad-slot=”xxxxxx” height=”50″ type=”adsense” width=”320″></amp-ad></amp-sticky-ad>

My problem, I want to hide the empty space on this ad. Please check it http://prnt.sc/nv03v0

Can you give me a good CCS ? Waiting for you

Post count: 20688

I understand now. There is a margin there, I could give you a code to remove it, the result should be like this – http://prntscr.com/nvcp31

amp-ad {
margin: 0 auto;
}

You can modify it and experiment with different margin values if needed.

Post count: 26

HI, I am looking for the same ads on my website. Can you please help me out here. I have added the mention code with my ads lots in theme panel but nothing is visible.

Post count: 27744

Hello,


@rsm181090

Do you want to remove the margin from mobile ads?
Please provide more details, also, the link to your website.

Thank you!

Post count: 26

Hello Anamaria,

My website link is: https://marathivarsa.com/ Please check my website in mobile.

I want to add anchor ads(sticky ads) on my website on the top of the mobile screen.

I have tried code from MOH YUSUF ROHMAN, but this code not showing ads.

Can you please help me sort it out this issue?

Post count: 27744

Hello,

If you want to use sticky ads you need to get this from the supplier, our theme does not have an option for sticky ads https://services.google.com/fh/files/emails/sticky_ads_guide.pdf
If you use the mobile theme you need to set the code in Theme Panel -> Mobile Theme -> Mobile Ads => https://www.screencast.com/t/mQocyijRM or if you have only AMP then in Mobile Theme ->AMP ads => https://www.screencast.com/t/qF305ryH

Thank you!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.