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

How do I move Adsense code??

Discussion in 'Black Hat SEO' started by tony20, Dec 4, 2015.

  1. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    739
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    Warning!! Sorry total noob question alert!!

    One of my ads overlaps the sidebar slightly. I never thought anything of it till google yesterday sent me a message that I had to change it or else! :(

    So, how do I move the code slightly to the left? Can I do it from the "Appearance", "editor" section?

    thanks in advance
     
  2. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    739
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    anyone? pleeeeese
     
  3. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    5,162
    Likes Received:
    2,380
    Occupation:
    blog creator
    Location:
    UK
    do you mean your adsense ad, are you using the responsive adsense ad format, this ensures the ad fits the container.
     
  4. bartosimpsonio

    bartosimpsonio Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 21, 2013
    Messages:
    12,028
    Likes Received:
    10,817
    Occupation:
    WHEREZ MA
    Location:
    BITCOINS AT?
    Home Page:
    Basic HTML and CSS, mate.

    If not sure, either read up on HTML or hire a freelancer to do it for you.
     
  5. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    739
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    its not a responsive theme. I know i know. I need to change it but in the mean time i just need to move this ad block 1inch to the left by tomorrow :(
     
  6. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    5,162
    Likes Received:
    2,380
    Occupation:
    blog creator
    Location:
    UK
    it is hard to tell if we cannot see the theme you are using, most new themes have ad placeholders that should not overlap, but if it does then as the poster above said some simple css will do it. Remember to do any changes in a child theme or else you'll lose the changes when the next update happens
     
  7. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    739
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!
    I presumed it is basic. But when I searched google i got this = <left> code </left> and that done bugger all!

    Could you give me some idea? I messaged a guy that has done work for me before but he;s not gotten back to me and i'm getting worried lol
     
  8. blogzandstuff

    blogzandstuff Elite Member

    Joined:
    Jan 1, 2015
    Messages:
    5,162
    Likes Received:
    2,380
    Occupation:
    blog creator
    Location:
    UK
    That won't do unless you know the element to target
     
  9. tony20

    tony20 Power Member

    Joined:
    Nov 22, 2008
    Messages:
    739
    Likes Received:
    41
    Gender:
    Male
    Occupation:
    Making mo moneyyyy
    Location:
    Scotland the Brave!!

    No placeholders. I just added the adsense code to the Functions.php section in the wordpress editor.
     
  10. SSTechSystem

    SSTechSystem Newbie

    Joined:
    Dec 5, 2015
    Messages:
    1
    Likes Received:
    0
    Location:
    Ahmedabad
    Home Page:
    Visit the My ads tab, find your ad unit in the list, and click Get code. Choose the code type that you want to use: To use the asynchronous ad code, leave the code type set to "Asynchronous" in the Code type drop-down. If you want to use the existing AdSense ad code, select "Synchronous" from the Code type drop-down.