Jump to content

How to add “whitespace” under the ads

Featured Replies

Posted

Is there a way to expand the amount of white space around the advertisements on the site?  Expand the space between the top and bottom of the ads to prevent accidental ad clicks.  
 

thanks. 

  • Author

Or how do I get my ads not to hang on the bottom of the ad space like this?

 

0AA62156-EE0F-4F6A-A419-D71C05C5EEEB.png

  • Author

@Rikki is there a way to force the site to add a few pixels under the ad units?

One option is editing the 'topic' template (under forums -> topics in the template editor). Look for {$advertisement|raw} in that template (about 2/3 down), and wrap it in a div, like so:

<div class='ipsSpacer_both ipsSpacer_double'>
  {$advertisement|raw}
</div>

 

  • Author
53 minutes ago, Rikki said:

One option is editing the 'topic' template (under forums -> topics in the template editor). Look for {$advertisement|raw} in that template (about 2/3 down), and wrap it in a div, like so:


<div class='ipsSpacer_both ipsSpacer_double'>
  {$advertisement|raw}
</div>

 

Tried that.  Doesn’t seemed to have helped.  Is there a custom CSS I can add?

  • Community Expert
On 11/14/2019 at 5:32 PM, mwcboard said:

Tried that.  Doesn’t seemed to have helped.  Is there a custom CSS I can add?

Either add a CSS class to your Adsense code or wrap it in a div then add the CSS class to custom.css and apply padding

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.