XF 2.0 Advertising block lacks bottom padding on the sidebar

Andy.N

Well-known member
It appears there is no bottom padding for the advertising element at the Container sidebar: Above position.
Every default block in there has some spacing on the top and bottom.
 
There would be no padding unless you use our default block, block-container, block-body construct that we use. If that isn’t suitable (because it would be in the style of a sidebar block) then you’d need to apply your own styling.
 
Got it. thanks for the confirmation guys.
Here is what I have for that advertising block. i need to have the 300x250 banner not contained in any block but always want to have a 20px bottom padding. It does not provide me the padding. I probably did it wrong.
Code:
<div id='div-gpt-ad-15071-1' style='height:250px; width:300px;margin-left:auto;margin-right:auto;padding-bottom: 20px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-15071-1'); });
</script>
</div>
 
Back
Top Bottom