Hi.
http://dragoernyheder.dk/2018/01/01/skoenhed-og-helse/
Can somebody help me. I want to remove the top ad from this page and only this page. I have found out how to remove the post name header using :
.post-8422 .td-post-header { display: none };
but I can’t quite figure out how to get the top banner hidden.
Hope somebody can help 🙂
Thomas
Hi,
Using CSS that can be done, especially if you don’t use Adsense ads (with Adsense hiding ads should not be done).
So the code to remove the ad just for that post page
– https://www.screencast.com/t/tfKOwn1P
.postid-8422 .wppaszone.paszone-5819 {
display: none!important;
}
Thanks
I have tried the same code to remove the section :
<div class=”wppaszone paszone-5819 ” id=”5819″ style=”overflow:hidden; max-width:1070px; max-height:230px; margin: 0 auto; text-align:center; “><div class=”wppasrotate paszoneholder-5819″ style=””><div class=”pasli pasli-8333 ” aid=”5819″ bid=”8333″ data-duration=”5000″>
</div></div></div>
but it doesn’t work. Still visible. you can see it now with the css added.
@daveml75 Not actually in general, there is an exception if you use media queries. This is mentioned in this guide
– https://support.google.com/adsense/answer/1354736?hl=en