1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Does anyone know how?

Discussion in 'Placement / Reviews / Examples' started by runastun564, Aug 20, 2006.

  1. #1
    Does anyone know how to place ads from inside blogger on the right side of the page? Because it always is only on the top. BTW does three ad units include a search bar?
     
    runastun564, Aug 20, 2006 IP
  2. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #2
    Darkhodge, Aug 20, 2006 IP
  3. 123GoToAndPlay

    123GoToAndPlay Peon

    Messages:
    669
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yep, template -> edit current and find
    
    <div id="sidebar">
    
    <div id="sidebar2">
    
    Code (markup):
    and paste your adsense code. Go for the 120 x ....
     
    123GoToAndPlay, Aug 20, 2006 IP
  4. runastun564

    runastun564 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The problem is I have the Simple ll template and the HTML is a lot different from the others and I cant find the sidebar part.
     
    runastun564, Aug 20, 2006 IP
  5. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #5
    Ok this isn't the best solution to the thing by any means but try this.

    1. Goto Template -> Edit Current

    2. In the <head> tags there is css coding. Look for this:

    
    div.blogPost {padding-left:5%;padding-right:10%;}
    
    HTML:
    And change it for this:

    
    div.blogPost {padding-left:5%;padding-right:35%;}
    
    HTML:
    Now as this is done in terms of % of the resolution you'll might need to change the 20% to something different.

    Basically what you're doing is creating enough space for the side bar by creating more padding on the right hand side.

    3. Now below the following code:

    
    .comment-link {margin-left:.6em;}
    
    HTML:
    Copy and paste this:

    
    div.rhm {position: absolute; top: 100px; right: 160px; width: 160px; margin:0px; background-color:#FFFFFF; border: 0;
    
    HTML:
    I made it 160px wide because I assumed you were going to use something like the 160 x 600 AdSense content unit.

    4. Just above "<!-- In accordance to the Blogger terms of service, please leave this..." which is right near the bottom of the html code, copy and paste this code:

    
    <div class = "rhm">
    <h3>Title</h3>
    Ad Code Here
    </div>
    
    HTML:
    You obviously need to change some of the parts, i.e. the title and the ad code.

    5. Save and republish the index.

    6. View the blog to see if it actually worked :)

    Tell me if that works for you or not.

    As I said it's not the perfect solution but I don't really have the time to analyze the code fully right now.
     
    Darkhodge, Aug 20, 2006 IP
    Creep likes this.
  6. runastun564

    runastun564 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    thanks. i had to tweak a few things. except my page is too long and the ad is too short. Now I have to figure out how to add pages. I'm not trying to spam but could you look at it and tell me what you think. Its under my homepage.
     
    runastun564, Aug 20, 2006 IP
  7. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #7
    Just checked it for you and it all looks fine :)

    A green rep would be nice btw ;)
     
    Darkhodge, Aug 20, 2006 IP
  8. runastun564

    runastun564 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    wats a green rep? :D
     
    runastun564, Aug 20, 2006 IP
  9. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #9
    A green rep is something you give to someone if you think they've been helpful. A red rep is the opposite.

    Anyway if you wana give a green rep to someone you click on the scales at the top right of their post and click I approve and leave a little comment.

    Only give it to me if you think I deserved it :eek:

    Or were you just being sarcastic about not knowing what a green rep is? :eek:
     
    Darkhodge, Aug 20, 2006 IP
  10. runastun564

    runastun564 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    no i was serious. thanx for the help.
     
    runastun564, Aug 20, 2006 IP
  11. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #11
    No problems :D
     
    Darkhodge, Aug 20, 2006 IP