XF 2.2 Adding a margin between posts

Growlithe

New member
Hello everyone! We are currently attempting to add a larger margin between posts, since new ads were recently added between them that are touching the top and bottom of the posts they sit between. I have tried to go into Style properties -> Messages -> adding "margin-top: 10px;" inside the Freeform CSS/LESS code box within the "Message user info block" section. However, it seems to stretch out the post container instead and comes out as follows (ads enabled):

margin_wrong.webp
What we are looking for is a proper, empty space margin as seen below (ads disabled):

correct.webp

I am unsure how to resolve this. The margin displays correctly when ads are disabled, but we would like there to be a proper margin between posts as well when ads are visible, for visual consistency. Can anyone help? Thank you in advance!
 
Back
Top Bottom