[Solved] AdSense ads are cut off on the bottom and right side  


Bradford
Posts: 3
Customer
(@bradlinder)
Member
Joined: 2 years ago

I've set up a comment list ad placement and when I create an ad with AdSense code, it displays after x comments as expected.

But the bottom and right sides of the ad are cut off. This happens no matter what AdSense unit I try to put in this placement. The problem appears to be with wpDiscuz and not the ad code itself, because I've pasted the same ad code into a WordPress widget and into the body of a WordPress post and it displayed properly in both situations.

Any idea if there are any <div> or css changes I can make that will keep the ad from getting cut off when used with the wpDiscuz Ads Manager?

adsense cut off

4 Replies
Tom
Posts: 2912
 Tom
Admin
(@tomson)
Support Team
Joined: 4 years ago

Please leave this post URL to allow us debug and find issues.

Reply
1 Reply
Bradford
Customer
(@bradlinder)
Joined: 2 years ago

Member
Posts: 3

Thanks, it's true for any post on Liliputing.com that had this unit. But here's the example page I grabbed a screenshot from:

liliputing.com/2014/11/install-xbmckodi-amazon-fire-tv-stick.html

 

Reply
Tom
Posts: 2912
 Tom
Admin
(@tomson)
Support Team
Joined: 4 years ago

Please navigate in Dashboard to Comments > Settings > Styling Tab and put this css code in Custom CSS Code textarea:

#wpcomm .wam-banner, .wam-banner * { padding: 0!important; }

Then delete all cahces, and do Ctrl+F5 on post front-end.

Reply
1 Reply
Bradford
Customer
(@bradlinder)
Joined: 2 years ago

Member
Posts: 3

That seems to have fixed it. Thanks!

Reply
Share: