Kaustubh Patel
asked 3 years ago

Hello,
Currently, I am showing Google Adsense ads after the first post of the article. Hence, in DWQA, it is also showing the ads on every first paragraph of the question and answers both.
Now, my problem is 
I am showing total 6 answers per pages. Hence, it is now showing total 7 ads per page. One each after the questions and answers.
 
I want to know how to block ads completely from the answers. I am happy with one ads at the top of the screen below the questions, rest I want to block ads from the all answers.
 
Please help, how to block ads from all answers. You can check my problem at below link
https://loveumarketing.com/questions/how-to-start-a-blogging-website/
In the above URL, I want to show ads on the question only not on the answer. Please help 

2 Answers
DominicStaff
answered 3 years ago

I have checked your site and see that the single question is showing well. I think you have resolved this issue. 

kaustubh patel
answered 3 years ago

Yes, I managed to remove it but yesterday I was working on something and by mistake removed the CSS styling without backup.
Now, I don’t know how to do it. All I remember was I have managed to hide the ads in answer by using something like this 
.dwqa-answer-content .div .div {
display: none;

The above Code is hiding the second div block (where I have my AdSense code in the answer). But, currently, it is not working. Can you please help me.
 
You can use the same link given above to check.

Dominic Staff
replied 3 years ago

You can try the following code:
.single.single-dwqa-question .adsbygoogle {
display: none !important;
}

Powered by DW Question & Answer Pro