Google Adsense - "Adsense For Search"

Discussion in 'AdSense' started by gregfire, Aug 2, 2007.

  1. #1
    Hey guys,

    Im trying to help a friend configure his website. He wants the Adsense search function so visitors can search google and his website.

    I am trying to put in the code for him, I setup the search function all correctly to what colours etc he wants, I get the code and put it ino the website.

    but (theres always a but lol) it doesnt appear as it is previewed (nice and small) I select about 15 characters as it is to go in a small space, however once I get the code, and paste it in, the box is really really stretched length ways - which distors the whole website template.

    I was wondering if there was something simple that I am doing wrong? and if anyone else ran into this problem?

    He is using Joomla! - I'm sorry but hes asked me not to submit the website - but I hope I have provided enough information so you can know what I'm talking about.

    Replies appricaited.


    Many thanks!
     
    gregfire, Aug 2, 2007 IP
  2. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is the site live, if so show the Url so we can take a look..
     
    uglyboy, Aug 2, 2007 IP
  3. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No the site isn't live, and he is asking me not to post the URL. Sorry.

    I've described it as best as I could... its not a template error because If I place it anywhere on the site the same thing happens.

    He wants a small compact box (like the one sized when you are setting it up) but instead I get the box in the middle, with two huge white plain boxes either side of it, stretching the entire site.

    Help appricaited :)
     
    gregfire, Aug 2, 2007 IP
  4. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would still say that it is down to your template CSS. Put the search box code into a blank htm file and see if it looks ok..
     
    uglyboy, Aug 2, 2007 IP
  5. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You are correct! I put it into MS Front page, and the box appears small, how I made it on Google.

    Hmm... what could it be with the CSS that is making it do this?


    thanks for the replies!
     
    gregfire, Aug 2, 2007 IP
  6. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Any ideas people? :)

    Thanks!
     
    gregfire, Aug 3, 2007 IP
  7. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Can you say which template you are using and i will try to help..
     
    uglyboy, Aug 3, 2007 IP
  8. chinna56

    chinna56 Banned

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    search CTR 80% is ok ?
     
    chinna56, Aug 3, 2007 IP
  9. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #9
    If only... :rolleyes:
     
    uglyboy, Aug 3, 2007 IP
  10. qwestcommunications

    qwestcommunications Notable Member

    Messages:
    8,868
    Likes Received:
    172
    Best Answers:
    0
    Trophy Points:
    233
    #10
    If you can have the ads then there is no reason why search should prove a problem.
     
    qwestcommunications, Aug 3, 2007 IP
  11. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    The search goes there alright, its just two huge white blank spaces appear either side of the search box :confused:
     
    gregfire, Aug 3, 2007 IP
  12. Proness

    Proness Active Member

    Messages:
    337
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    70
    #12
    Don't post the URL, a screenshot will do. We really cant help you without actually seeing what's happening.
     
    Proness, Aug 3, 2007 IP
  13. deadsoul

    deadsoul Banned

    Messages:
    162
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Yes Give a screenshot .it will be better.
    But it must not create problem like this.Whenever you put ads or search box,it appears as we configure it...
     
    deadsoul, Aug 3, 2007 IP
  14. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Heres a screenshot of what happens....

    [​IMG]

    Hope that helps. (I just made the code up quickly, hence why it says "your domain here" also that is the size I want the box, just without the two huge white blank spaces.)


    Thanks!
     
    gregfire, Aug 3, 2007 IP
  15. Proness

    Proness Active Member

    Messages:
    337
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    70
    #15
    Wierd, never seen something like that! As someone above said, there might be a problem with you CSS OR are you pasting the code within some previous <form> codes?
     
    Proness, Aug 3, 2007 IP
  16. deadsoul

    deadsoul Banned

    Messages:
    162
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Check your settings again.Get code again.And try with new code.
     
    deadsoul, Aug 3, 2007 IP
  17. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Can you not say what template you are using.. I am almost certain that its a CSS problem. <form> or cellpadding!!
     
    uglyboy, Aug 3, 2007 IP
  18. matthewk

    matthewk Guest

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I would have to agree with uglyboy. Try replacing the google search box with just a plain text box, no form tag, just:

    <input type=text size=whateveryoursizeis>
    HTML:
    If that box has the same issue, its a css attribute to do with input fields. If you dont have the same issue, its something to do with your form or table tags. So next put some form tags around your test box, to like:

    <form>
    <input type=text size=whateveryoursizeis>
    </form>
    HTML:
    If it has the same issue, its css attributes to do with your form tags. If the issue doesnt occur, its an issue with your table, tr, or td tags. Either way, that will narrow it down for you.
     
    matthewk, Aug 3, 2007 IP
  19. gregfire

    gregfire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    thanks for the replies.

    I tried what you said and it worked fine.

    What does this mean? I dont have the issue anymore... but I'd like to know what you mean.

    thanks
     
    gregfire, Aug 4, 2007 IP