logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$10
Change width on search box

Hi,

I need to change the Agoda hotel search box on http://www.thailandliving.se, see on the right hand side.

The search box should be 440px width and I don´t know how to do that with ccs ...

This is the code use in the widget:
<br><div id='agoda_searchbox'><img src='http://ajaxsearch.partners.agoda.se/affiliates/images/ajaxloader.gif' width='32' height='32' alt='Loading search box ...' /></div>

thanks.
Charlotte

This question has been answered.

attachment image View Attachment

Charlotte Raboff | 04/26/11 at 5:49am Edit


(4) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    04/26/11
    5:55am
    Utkarsh Kukreti says:

    Add this to your style.css, at the end.

    #agoda_searchbox_wrapper {
    width: 440px;
    }

    Previous versions of this answer: 04/26/11 at 5:55am

    • 04/26/11 6:05am

      Charlotte Raboff says:

      I have done that now but there is no change, it´s the same width as before and I empty my chache...

  • avatar
    Last edited:
    04/26/11
    5:56am
    Rashad Aliyev says:

    Hello,

    Open this css file ( http://ajaxsearch.partners.agoda.se/affiliates/styles/search_style1.css )

    and change width on this css.

    #agoda_searchbox_wrapper {
    width:440px;
    }

    or you can put it any css file like this.

    #agoda_searchbox_wrapper {
    width:440px !important;
    }

  • avatar
    Last edited:
    04/26/11
    5:57am
    Federico Vezzoli says:

    in your css you'd write something like that:

    #agoda_searchbox_wrapper {
    width: 440px
    }

    you gotta change the wrapper not the main id.


  • avatar
    Last edited:
    04/26/11
    6:01am
    Denzel Chia says:

    Hi,

    Open up header.php
    find </head>
    and add the following css code before it.


    <style type='text/css'>
    #agoda_searchbox_wrapper {
    width:440px !important;
    }
    </style>


    Thanks.
    Denzel

    • 04/26/11 6:09am

      Charlotte Raboff says:

      That worked, thanks!

    • 04/26/11 6:10am

      Denzel Chia says:

      Hi,

      Thank you too!
      Please close question now and vote for me!

      Thanks.
      Denzel

This question has expired.



Charlotte Raboff voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.