Jump to content

How to add “whitespace” under the ads


mwcboard

Recommended Posts

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. 

Posted

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>

 

Posted
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?

Posted
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 members

    • No registered users viewing this page.
×
×
  • Create New...