I’ve used these instructions — https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
but it’s not working for tablet + I’d like to customize it for other breakpoints. Is there a way to do that?
Or is there another option by adding a template to a child theme? If so, which template would I use and how would I add that to a child theme?
Thanks
Hi I’m using all these:
<div class="td-visible-desktop">
<!-- Your NON AdSense code here - this ad will show only on desktops -->
</div>
<div class="td-visible-tablet-landscape">
<!-- Your NON AdSense code here - this ad will show only on tablets in landscape orientation -->
</div>
<div class="td-visible-tablet-portrait">
<!-- Your NON AdSense code here - this ad will show only on tablets in portrait orientation -->
</div>
<div class="td-visible-phone">
<!-- Your NON AdSense code here - this ad will show only on phones -->
</div>
I just got the tablet one to work but the problem is anything under 768px goes to the ‘phone’one. Is there a way to customize that more so that I can have an image for something like 425px – 768px? I know there’s ways with CSS & HTML but do you know where I access those templates and how to add the code to a child theme? Thanks
Hi,
Those are the resolution for each device -> https://i.imgur.com/icMGBnC.png
So, if you want to edit them, you can do it in this path -> wp-content/plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css
But you do not need to edit the file; you need to copy the code, edit it as you need, and set it to the Theme Panel -> Custom Code -> Custom Css -> https://i.imgur.com/wYQ4ZrH.png or you can set it in the child theme in css file.
Thank you!
Thanks. I actually am doing direct ads (not adsense script just image) and have to change the layout position of the advert images, that’s why I was wondering which template to access to edit the actual layout stuff. I have a custom menu on mobile view so I need it to go under menu.
Hi,
If you want to send the link via email you can do it to contact@tagdiv.com and provide also the wp-admin to check the settings.
Thank you!
