hi guys,
I was wandering, I set up banners on posts using the ad system. Is there any way I can stop them to show in specific posts?
Thank in advance!
Hello salocharly,
If you want to hide some ads for a certain post, please notice that you can use a bit of CSS code to hide it. Please notice that you will have to use the post ID, which gets it like this -> http://screencast.com/t/rsUaOlbu (using the inspector). For example, if you want to hide an ad for a certain post, you can use the below CSS code ->
.postid-1451 .postid .td-g-rec {
display:none;
}
If you need more assistance in this regard, please provide your website URL and also, please mention what type of ad you want to hide so I will be able to provide a more accurate response.
Thanks for your understanding!
http://indietravel.net/entre-cielos-luxury-wine-resort-mendoza/
This is my site, I didn’t added it yet, but it will be a banner image added with the ad system. i will add it for thee upper and footer. for all devices.
Thanks!
Hello salocharly,
If you want that you hide the ad for this post page, from all the page, you will have to use the below code and you will have to place it in Theme panel->Custom CSS area.
The code is ->
.postid-4327 .td-g-rec {
display:none;
}
If you refer to something else, please provide more details.
Thanks for your understanding!
will this work if I change the adsense for a regular banner with image as in documentation?
Hello salocharly,
If you are using the aAdSense code and you want to hide it please notice that you will have to use the td-g-rec class to target it and if you are using other ads, you will have to use the td-a-rec class to achieve as you wish.
If you refer to something else, please provide more details.
Thanks for your understanding!