How to disable widgets on all devices except desktop?

Posted in: Newspaper
Post count: 71

Hi,
I have 4 big banner sidebar ads on my posts, 2 on each side (one below each other). I made them with widgets.
Sidebar Ad Adsense (sidebar ad) Sidebar Ad Adsense (sidebar ad) <- these I want to stay active even on mobile because they’re responsive.
Custom Ad 4 Amazon (banner sidebar ad) Custom Ad 5 amazon (banner sidebar ad) <- I want to disable these two amazon ads because they aren’t responsive. How can I do this? As I said, they are loaded into separate widgets.
http://prntscr.com/laa19l If you want to see what I want to hide on mobile.
Thx.

Post count: 20688

Hi,

So you want to hide the amazon ads on mobile, or maybe the other way around show them only on desktop.
You could wrap the amazon ad codes in the predefined containers with classes
https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Wrapping them in the “td-visible-desktop” div will make them visible only on desktop for example.

Thanks

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