Need help when putting google ads in my website

Discussion in 'CSS' started by dailyearner, Oct 20, 2010.

  1. #1
    hi everyone
    i need a help
    last week i got my adsense account
    but i want to put an ads in left side of post
    www.seo-fans.com
    so i set in css.file
    #gg1{
    display:block;
    float:left;
    }
    but all post contents is in another line(under the google ads)

    I want my ads like this http://www.poundbangwhack.com/2009/06/15/how-to-insert-google-ads-into-the-content-of-your-wordpress-post/
    but not like this http://www.quickonlinetips.com/archives/2006/11/10-best-wordpress-plugins-for-google-adsense/

    need your help asap
     
    dailyearner, Oct 20, 2010 IP
  2. GWiz

    GWiz Peon

    Messages:
    359
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try setting a height and width of the ad to the #gg1 element.
     
    GWiz, Oct 20, 2010 IP
  3. npnhome

    npnhome Well-Known Member

    Messages:
    658
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #3
    If your site is powered by wordpress then you can do some edit in the Single.php file. place the adsence code inside this code <div style="float: right; padding: 10px;"></div>.
    And place it in loop.php file if you are using wordpress 3.0.
     
    npnhome, Oct 21, 2010 IP