hey guys
I have one post where i dont want to show to automatic inline ad. is there a way to manually stop the add appearing for specific individual posts?
Hi,
You can add a condition to block the inline add on post on that specific post using !is_single('ID') here – http://screencast.com/t/C4tVlb0n9 take the ID of that specific post like this – http://screencast.com/t/DH1ocW0vg7
Or if you want you can hide it using custom css in Theme Panel > Custom Css:
.postid-ID .td-a-rec-id-content_inline, .postid-ID .td-g-rec-id-content_inline {
display: none;
}
Thanks!
ok so i am a little confused i copy and pasted the custom css and it didnt work. can you tell me if this is correct?
post idea is 1123…..
.postid-1123 .td-a-rec-id-content_inline, .postid-1123 .td-g-rec-id-content_inline {
display: none;
}
also what would the code be if i wanted to do the same for a page instead of a post?
Hi,
Please provide a link so I can inspect this, if you want to hide it via custom css. It should work fine, also you can try to use !important tag, like this:
.postid-1123 .td-a-rec-id-content_inline, .postid-1123 .td-g-rec-id-content_inline {
display: none !important;
}
There are no inline ads for pages, please provide more details and also a link.
Thanks!
actually the first one worked but the second one didnt.
.postid-33 .td-a-rec-id-content_inline, .postid-33 .td-g-rec-id-content_inline {
display: none !important;
}
.postid-1162 .td-a-rec-id-content_inline, .postid-1162 .td-g-rec-id-content_inline {
display: none !important;
}
i tried to do two posts in a row. is this what it would look like or am i missing somethings. sorry but im shit at anything to do with css.
so post 33 worked, post 1162 didnt.
ok so scrap everything i just said.
it is simply not working..
http://parisjourney.com/about-me
i entered the css into the theme pannel and no resaults
Hi,
You have to use this custom css as this inline is positioned to the right(I forgot to mention that) – http://screencast.com/t/W4feMNd0gC
.postid-33 .td-g-rec-id-content_inlineright {
display: none;
}
Just add right or left if your inline ad is not full post content – http://screencast.com/t/GuHpZlcLg8sk
Thanks!