1. 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

Discussion in 'Troubleshooting and Problems' started by tony78, Jun 6, 2012.

  1. tony78

    tony78 Member

    how do i add google adsense here

    Thanks
     

    Attached Files:

  2. craigiri

    craigiri Well-Known Member

  3. tony78

    tony78 Member

    Thank you guys

    but can some one tell me how we Add google adsense in the (middle or Random) of the message body?

    [​IMG]
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Mopquill likes this.
  5. tony78

    tony78 Member

    thanks Jake
    but, how do i display them on the middle or Random
     
  6. Mopquill

    Mopquill Active Member

    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.
     
  7. Bram

    Bram Well-Known Member

Share This Page