TagDiv Ad Boxes stuck together

Posted in: Newspaper
Post count: 72

Hi,
I’m using the custom ads to insert banners from affiliate programs. I insert them in my sidebars using the tagDiv Ad Box in Widgets, but it’s not nice because there is no space between the banner and other elements.
You can see that on this page (the 2 TagDiv Ad Boxes are the last images on the right sidebar):
https://devenirbilingue.com/expatriation/apprendre-le-francais/sakili-livres-choisis-enfants-en-francais/
I tried to add   at the end of the custom ad code but it doesn’t work all the time. What should I do to get the same space as between 2 elements in the sidebar?
Thank you.

Post count: 35449

Hi,

Usually the ad box have set a margin bottom -> http://prntscr.com/q0k8a2 If you are using the ad box from widget then you can add an extra class and set a margin bottom -> http://prntscr.com/q0kc2q

Thank you!

Post count: 72

Thank you, I’ll add an extra class in the TagDiv ad box from widget. In the widget it’s written “add a class name and refer to it in custom CSS”. Can you help me as I don’t know how to refer it in custom CSS (I know where to add some code but I don’t know how to code something like “margin-bottom: 38px”).
Thanks a lot.

Post count: 35449

Hi,

For example you can set a class, lat’s say removeSpage and add it on your elements, after that you need to set this class in Theme panel. Custom code> Custom css, here is a cod example to remove the bottom margin
.removeSpage {
margin-bottom: 0;
}

Hope this will help you!
Thank you!

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