• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 how do i add google adsense here

Mopquill

Active member
#6
I don't know what you mean by random, but, assuming you want them to just display *over* content, you'd want to use CSS to position it- something like

Code:
#ad{margin-top:40%;margin-left:auto;margin-right:auto;text-align:center;}
You'd likely want to use JavaScript to make it appear and disappear. Beware, though, ads like this are intrusive, and more likely to make a user enable adblock for your website.