Hello,
i have a problem. I use theme responsive for mobile, not plugin mobile.
In theme Options -> ADS -> “article Top Ad” I need it add two different banner for ad mobile and ad desktop. My problem is in a desktop, not show banner because in a html div “master” is a display:none.
on mobile it works, but only because maybe it’s in first position
This is a example:
<div class="td-visible-phone">
*CODE FOR BANNER MOBILE
</div>
<div class="td-visible-desktop">
*CODE FOR BANNER DESKTOP
</div>
-
This topic was modified 7 years by
geniovi.
Hi,
From what I can see you’ve set the code as in our documentation -> https://forum.tagdiv.com/header-ads-adsense/
Please provide me a link were I can inspect this problem, in this way I will be able to provide you an working advance.
Thank you!
The problem is in this div with class “td-a-rec td-a-rec-id-content_top”. Is in a display:none !important
<div class="td-a-rec td-a-rec-id-content_top td-rec-hide-on-m td-rec-hide-on-tl td-rec-hide-on-tp td_uid_2_5cf0ccd26b705_rand td_block_template_1">
<div class="td-visible-phone">
<div id="adv-gpt-box-mobile-container1" style="padding-bottom:10px"></div>
</div>
<div class="td-visible-desktop">
<div id="adv-gpt-masthead-skin-container2"></div>
</div>
</div>
A example link of my site is
https://wp.me/p7pQW0-sOc
the code is after Featured Image.
-
This reply was modified 7 years by
geniovi.
Hi,
Pleas make sure that the code you set is as this one -> https://www.screencast.com/t/UxGwHgEtb3dS please do not add extra classes
Also please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.
Thank you!