Hey guys,
Dunno how long this has been an issue as I’ve been working on other projects but I noticed today my header ads had disappeared from my sites.
I’m not using ad-sense just a clickable image but the ads were there before and now they aren’t, at first I though it was because I had moved servers but I have bought 4 instances of the theme and only 2 have been moved to new servers but all 4 are now not showing header ads.
It’s not a huge problem cos none of the sites are generating ad revenue anyway but does make the header look a bit bare and I’d like to get to the bottom of it.
I’ve tried to disable all plugins apart from VC and Social counter but the problem remains.
I’m using the ad code from the documentation but when I save it and refresh the page it removes my logo from the left side of the header and there’s no image. I’ve tried a few adjustments to the code and that breaks the main navigation (im using header style 3)
Let me know if you’ve come across this before, I’m assuming it’s been like this since the last update as nothing else has changes and all 4 sites are displaying the same behaviour. I’ve cleared all caches etc but the problem remains.
Many thanks
Dean
Hi
I’ve checked your site and the header ad-spot it’s empty: http://screencast.com/t/9lq1B2FZVt Please make sure that the code added in theme panel it’s correct and generate the desired rezult.
If you still can’t manage to solve this issue please provide your ad-code via http://pastebin.com/ so I can inspect it closer.
Thanks!
Can you send me an example of the code please? I’ve been using the example ad code from your documentation which seemed to work until recently
I’ve removed the ad because as I said, it’s breaking the header
Thanks!
Hi
This is an banner ad example which work fine with the theme:
<div class="td-all-devices"><a href="http://demo.tagdiv.com/newsmag"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg"/></a></div>
Just replace the actual links your links and should work fine.
Thanks!
-
This reply was modified 10 years by
Andrei L..
Can you please post an example of the code you are using for the 3 header images you are using on your demo. As you know there are 3 images, just need that working code
PLease
OK, I got the header ad working on desktop by uploading your theme to another installation and then importing the sample data and pulling it from the theme panel
HERE IT IS
<div class="td-all-devices"><a href="#"><img src="https://unplug.tips/wp-content/uploads/2015/05/juiceage-header-ad-728x90-1.jpg" /></a></div>
But it only works on desktop
How can I alter it to work on tablet and mobile
Many thanks
D
-
This reply was modified 10 years by
unplug.tips.
-
This reply was modified 10 years by
unplug.tips.
Hi,
I need to know what class to add to the code to stop all 3 image sizes displaying on top of one another
<div class=”td-all-devices”><code (This works for Desktop)
<div class=”td-all-devices“><code (I Need the class for tablet only)
<div class=”td-all-devices“><code (Need class for mobile only)
Hi
Please refer to our documentation for more details about banner ads usage: https://forum.tagdiv.com/newsmag-using-other-ads/
As an example this is a valid banner ad code which will work for all devices:
<div class="td-visible-desktop">
<a href="http://demo.tagdiv.com/newsmag"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg"/></a>
</div>
<div class="td-visible-tablet-portrait">
<a href="http://demo.tagdiv.com/newsmag"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg"/></a>
</div>
<div class="td-visible-phone">
<a href="http://demo.tagdiv.com/newsmag"><img src="http://demo.tagdiv.com/newsmag/wp-content/uploads/2014/08/rec728.jpg"/></a>
</div>
Thanks!
-
This reply was modified 10 years by
Andrei L..