Sidebar spacing ads

Posted in: Newspaper
Post count: 79

How do you adjust de spacing and alingment in the sidebar. Look at my site and see the sidebare big gabs between the ads and one is not alignd right. Some ads a nice and close bud the most have huge gaspes.

Post count: 20688

Hi,

I have inspected your website and the sidebar ads. I cannot see the huge gapes that you mention, neither on the homepage, posts or categories
https://www.screencast.com/t/Myti3CRm
https://www.screencast.com/t/yI7DWE9qOBn
The one that seems not aligned I believe is actually how all of them should be aligned. But you can use this code to position it like the others
https://www.screencast.com/t/DUxuTD0Cbv
The code must be entered in Theme panel->Custom Css

.td-g-rec-id-custom_ad_3 {
margin-left: 0;
}

Thanks

Post count: 79

The css code did the job. Bud see the gaps between de bottom of the ads en top there is more space its not equal

Post count: 20688

Hi,

I don’t think I fully understand what space you are talking about regarding the ads. It would be much easier and quicker if you could provide a screenshot with it, so I may give you a more accurate answer.

Thanks

Post count: 79

See the red line’s : http://i68.tinypic.com/mcu6hy.jpg

Big space and little space between the ads

Post count: 20688

Hi,

The first ad from the top has a bottom margin like this
https://www.screencast.com/t/2UJ7F97y6I
The second one has the same margin
https://www.screencast.com/t/aQHb3EPjs
For the third one you can set this margin as well
https://www.screencast.com/t/GxFoLr1CQ
The fourth ad has the same margin
https://www.screencast.com/t/ixqbcqs5ed
The second from the bottom has a different margin value, but you can include it in the code and will be the same
https://www.screencast.com/t/mmKNFIeJ
Now all the ads should have the same margin bottom, try the code and see if it is like you wanted

.td-a-rec-id-sidebar,
.td-g-rec-id-custom_ad_3 .adsbygoogle {
margin-bottom: 38px;
}

Thanks

Post count: 79

Ok, now its al the same space bud i want them all te be closer together. top to bottom around 10 pixs

Post count: 20688

Hi,

Please try this code to make the margin bottom property of 10px for the ads (you can remove the previous code) – https://www.screencast.com/t/3OFMiiU0lrl

.ajdg_grpwidgets,
.td-a-rec-id-sidebar,
.td-g-rec-id-custom_ad_3 .adsbygoogle {
margin-bottom: 10px!important;
}

Thanks

Post count: 79

That worked great, thanks

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