white gap when no ad

Posted in: Newsmag
Post count: 93

is it possible to remove this white gap when google ads has nothing to show please?

Screenshot-1

Post count: 35449

Hi,

Now I see that you have an bottom and top margin on ad box elements, so what I can recommend is to remove that space and this will resolve the problem with the ads when are not displayed, but it is possible to be a problem with the ads that are displayed.

If you want to test it you can try this custom css:
.td-a-rec-id-custom_ad_1, .td-a-rec-id-custom_ad_2, .td-a-rec-id-custom_ad_3, .td-a-rec-id-custom_ad_4, .td-a-rec-id-custom_ad_5, .td-g-rec-id-custom_ad_1, .td-g-rec-id-custom_ad_2, .td-g-rec-id-custom_ad_3, .td-g-rec-id-custom_ad_4, .td-g-rec-id-custom_ad_5 {
margin-top: 3px!important;
margin-bottom: 0!important;
}

Thank you!

Post count: 93

Thank You Calin that is much better.

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