Cloud Template Single Post: Custom Ad on Ad Box "Disable on Desktop" option

Posted in: Newspaper
Post count: 30

Dear TagDiv Team,

I need to implement a javascript code (AD) on a Cloud Template Single Post.

I used the AD Box and it works fine.
I cannot use the ADS section on Theme Panel because from there the javascript doesn’t work properly, don’t ask me why but that is. That means that I cannot use from there the option “Disable on Desktop”.

So, from Cloud Template Single Post, using Custom AD code, how can I disable the AD on Desktop?

I hope I was clear enough.

Please see the enclosed screenshots.

https://ibb.co/Fxj0QbQ
assistenza-1

https://ibb.co/L59MHxL
assistenza-2

Best Regards,
Marco

Post count: 27744

Hello,

If you have set the code for ads in the ad box, the element has the option to hide on devices in the tab called “Image ad” => https://www.screencast.com/t/xo2eZdbmlf
or if the ad needs to be displayed on a specific device you can use one of that code => https://i.imgur.com/y7sMsuE.png -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Also, you can use the CSS tab from the ad box and hide the element for the viewport where you don’t want the ads => https://www.screencast.com/t/9dRlH0ag70 -> https://www.screencast.com/t/RQk9BLSF2

Hope this helps you!

Thank you!

Post count: 30

Dear Anamaria,

thank you very much for your kind reply.

As previosuly told, I’m using a Single Post Cloud Template so the option “Disable on Desktop” on the ADS section on Theme Panel doesn’t work.

Neither the “Image ad” options work, I guess they are referred to Images ads, not custom ad codes?

Anyway using the CSS tab to hide the AD box for the viewport on Desktop worked perfectly, I didn’t think about it, thank you very much!

Best Regards,
Marco

Post count: 27744

Hello,

I’m glad it was helpful.
If you have questions regarding our theme, just let us know!

Have a nice day!

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