Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
mwcboard Posted November 13, 2019 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.
mwcboard Posted November 13, 2019 Author Posted November 13, 2019 Or how do I get my ads not to hang on the bottom of the ad space like this?
mwcboard Posted November 14, 2019 Author Posted November 14, 2019 @Rikki is there a way to force the site to add a few pixels under the ad units?
Rikki Posted November 14, 2019 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>
mwcboard Posted November 14, 2019 Author 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?
Day_ Posted November 16, 2019 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.