Ad appears with additional grey box

Posted in: Newspaper
Post count: 6

Hello

I am using codes for non-AdSense ads. Please check this link
https://stredoevropan.cz/2017/07/03/floyd-mayweather-udelal-verejny-trenink-aby-zastrasil-mcgregora/

Ad in a header appears perfectly ok, but ads in a side bar and in a bottom have big additional grey box. Why it can be?

Post count: 6

I just tried different provider of ads and the grey box appears too. It must be something in the theme.

Post count: 6

I have also checked, that other users of these same codes have no problems. Their ads appear without these grey boxes.
I just hope someone is actually reading this.

Post count: 20688

Hi,

Please note that we answer all the topics on the forum, as soon as possible. After inspecting this issue on your website, it seems that the ad code you are using has 2 images in it’s structure. One with the actual image of the ad, and another image with a width and height of 1px
https://www.screencast.com/t/uBOp1ATLkm
The theme is setting a width of 100% for both these images, that is why they are displayed like this instead of their normal size.
Please enter this code in Theme panel->Custom Css and it should make the ads display in their initial form, and also center them
https://www.screencast.com/t/KwbSwqc8q
https://www.screencast.com/t/j1Kadb2OfL4

.td-a-rec-id-sidebar img,
.td-a-rec-id-content_bottom img {
width: auto;
margin: auto;
}

Thanks

Post count: 6

IT WORKS!

BIG THANK YOU

Post count: 6

Could you just advise, how to set “Background Click Ad”?

Post count: 20688

Hi,

First you need to upload a background image of your choosing, then set the ad link in the background ad section. Please follow this guide for detailed information
https://forum.tagdiv.com/background-ads/

Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.