Whensover i put the header ad / sidebar code of medlife a grey blank portion

Posted in: Newspaper
Post count: 1

Whensover i put the header ad code or sidebar code of medlife a GREY blank portion appears how to solve it ? And the header ad looks proper on desktop but in mobile theme a blank grey portion appears , i am having 5 months support pending and a newbie to wordpress so please help in simple non techy way. check below the screenshots of the grey blank area

https://photos.app.goo.gl/Pjy27XT87MsGzdrm9

here is the medlife affiliate ad which i insert

Thanks in Advance

Post count: 20688

Hi,

It seems the ad code has in it an image of 1px by 1px, this is detected by the theme which sets a 100% width for it. Then that small image (basically a small dot) is stretched to fill the sidebar space.
I don’t know why the ad code has such an image in it, however a code like this would fix the ad in the sidebar
https://www.screencast.com/t/etXLHUBii
Enter it in Theme panel->Custom CSS code section

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

Thanks

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