To insert code use <code>...</code>.
How to customise search widget?
  • Hi,

    How can i customise search widget?
    I'd like to have something like this... but don't know how...
    Need some help :-)
    recherche.JPG
    300 x 50 - 2K
  • 1 Comment sorted by
  • You can do this by css.

    Design you box by css code and add the css code for this box to you custom css field and



    #yoursearchbox {

    }

    #yoursearchbox input[type="text"] {
    inhere goes the background image with the search glass plus all the layout for drawing of the inputbox
    }


    then put in a text widget the call to this css code.....


    <div><form method="get" action="url of your website" id="yoursearchbox">
    <input type="text" class="text_input" value="Recherche.." name="s" id="s" onfocus="if(this.value == 'Recherche..') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Recherche..';}" /></form></div>



    Best regards,
    BackuPs