custom HTML in search form ( site/search) I'm trying to customize the html of the search block form.
I know that I can use templates.php to modifiy the fields and customize it but I'm trying here to change the whole html block.
I've tried to use search-form-block.tpl.php, but it didn't work (yes I've cleared cache).

I guess I'm missing something here ...

Any help appreciated thanks !

Ps : I'm using solr in an acquia environment.
You can use hook_form_alter and use render API to alter the html attributes. You can add attributes such as class, id, wrapper tags(prefix and suffix), attaching css and js file to the rendered form this way too. It would be something like this.

function yourMod_form_alter(&amp;$form, &amp;$form_state, $form_id) {
 if(strstr($form['#form_id'], 'search_form')) {
   $form['#attributes'] = array(
    'class'=&gt; array('search-form-custom-class'),
    'id' =&gt; array(),
    );
   $form['#attached'] =&gt; array(
     'css' =&gt; array( drupal_get_path('module', 'yourMod') . '/css/yourMod.css' ),
   );
   $form['#prefix'] = "&lt;div class='wrapper-for-search'&gt;";
   $form['#suffix'] ="&lt;/div&gt;";
 }
}


I advise to read more on the render API to see all attributes that you can alter.