vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=326944

Creating More Around Adsense Ad
by alfuzzy
05 Dec 2018 15:05

As the title mentions...can someone please explain which file I edit & what code I should specifically edit to create more space around the Adsense advertisement indicated by the red arrows (screenshot below)

I think this Adsense ad is too close to "clickable" forum content...and I may be getting "dinged"(penalized) by Adsense for it.

By the way...this ad is on my forums homepage if it helps.

Thank you.

https://www.vbulletin.org/forum/external/2018/12/1.png

final kaoss 05 Dec 2018 21:19

Well lets see, you can always use <br> tags, you could use a <hr> tag or you could surround it in paragraph tags. Browsers automatically add some space (margin) before and after each <p> element. The margins can be modified with CSS (with the margin properties).

alfuzzy 05 Dec 2018 22:05

Thanks final kaoss for the info. If this is on my websites homepage...which file do I edit?

Thanks

final kaoss 05 Dec 2018 22:17

Wherever you put the adsense ad, which I imagine you did via the ad manager, add the tags there, right before or after the ad code.

Either way, don't edit the files directly, use the tools built into the admincp for that to edit your templates/stylevars & ads.

alfuzzy 06 Dec 2018 08:12

Thanks again. I'll give it a shot.:)


All times are GMT. The time now is 04:45.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.