mwcboard Posted November 13, 2019 Share Posted November 13, 2019 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. Link to comment Share on other sites More sharing options...
mwcboard Posted November 13, 2019 Author Share Posted November 13, 2019 Or how do I get my ads not to hang on the bottom of the ad space like this? Link to comment Share on other sites More sharing options...
mwcboard Posted November 14, 2019 Author Share Posted November 14, 2019 @Rikki is there a way to force the site to add a few pixels under the ad units? Link to comment Share on other sites More sharing options...
Rikki Posted November 14, 2019 Share Posted November 14, 2019 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> Link to comment Share on other sites More sharing options...
mwcboard Posted November 14, 2019 Author Share Posted November 14, 2019 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? Link to comment Share on other sites More sharing options...
Day_ Posted November 16, 2019 Share Posted November 16, 2019 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.