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.

AdSense Ads Not Aligning Center & Being Cut Off

Discussion in 'AdSense' started by Blake420, Jun 29, 2015.

  1. #1
    My adsense ads are not aligning center(even with the parent div aligning center), the leaderboard also seams to be getting cut off on the right, while my mobile ad staying on the left...

    I have uploaded some images with the background showing as red(note the image with share buttons had to be down scaled for upload)
    SEMrush
    What am I doing wrong?
     

    Attached Files:

    Blake420, Jun 29, 2015 IP
    SEMrush
  2. prince@life

    prince@life Well-Known Member

    Messages:
    279
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    175
    #2
    In your current div use inline styles to align it center.
    <div style="margin: 0 auto;text-align: left;width: 300px;height: 250px;">
            Your adsense code here
    </div>
    HTML:
    Explanation:
    Height: change it with height of your ad unit.
    Width: change it with width of your ad unit.
     
    prince@life, Jun 29, 2015 IP
  3. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    I have done all that, even had to allow an extra 20-40 px's to the ad parent divs so they can be seen, and if I dont add overflow: hidden; the ad block is like 400x200 px...plus can you explain how the leader board is being cut off?
     
    Blake420, Jun 29, 2015 IP
  4. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Thank you for helping, it is greatly appreciated.
     
    Blake420, Jun 29, 2015 IP
  5. prince@life

    prince@life Well-Known Member

    Messages:
    279
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    175
    #5
    Can you give me your webpage URL? So, I can come out with a working tweaks about leader board ads problem!
     
    prince@life, Jun 29, 2015 IP
  6. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    I do not wish to post the URL here, could you please just run me through all the steps I should be taking?
     
    Blake420, Jun 29, 2015 IP
  7. prince@life

    prince@life Well-Known Member

    Messages:
    279
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    175
    #7
    If your leader board ad size is 728x90px and is displaying 468x60px ads. Then don't worry, because Google Adsense uses an alternative ads automatically.
    Or If you're using 728x90px but ads are cutting off from the edges. I suggest you to try some tweaks on outter div of adsense code.
    Here Outter div means : <div> Adsense Code here. and the div wrapping up this code is outter div of this code. </div>
    Try inline styles likewise, width:728px;overflow:visible;display:block
    Use this and let me know!
     
    prince@life, Jun 29, 2015 IP
  8. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #8
    This happens...(it is on the top left of screen)
     

    Attached Files:

    Blake420, Jun 29, 2015 IP
  9. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    Still being cut off
     
    Blake420, Jun 29, 2015 IP
  10. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #11
    I seam to have got the parent(wrapper) divs where I want them, but the leaderboard is still being cut off and the ads sit slightly off center and just a bit lower that the parent(wrapper) div...anyone else experiencing difficulties like this?
     
    Blake420, Jun 29, 2015 IP
  11. Blake420

    Blake420 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #12
    I seam to have the parent divs where I want them but the ads seam to sit slightly off center and a bit lower than the div, the leaderboard is still cut off on the right side, anyone else experiencing something like this?
     
    Blake420, Jun 29, 2015 IP