By dsanchez on
Hello,
I need to change search-box design, also I need to hide the Search button (and replace it by an image). However I can't find where to do this in the search.module file. Any ideas?
Thanks
David.
Hello,
I need to change search-box design, also I need to hide the Search button (and replace it by an image). However I can't find where to do this in the search.module file. Any ideas?
Thanks
David.
Comments
This blog post might be what
This blog post might be what you're looking for. Almost all changes can be done through CSS
http://mydrupalblog.lhmdesign.com/theming-search-submit-button-css-cross...
---------------------------------------------------------------------
"I am a very model of a modern major general"
http://www.wiiliketopodcast.com
---------------------------------------------------------------------
"I am a very model of a modern major general"
http://www.arvinsingla.com
The link is dead
There are other solutions on this page
Another solution (if you don't mind PHP)
You can create a template file for the search block in your custom theme. Just like you can theme node types based on the name of the template file, you can create a file called search-block-form.tpl.php to theme the search block.
Example contents:
Of course, you'd need to create the image and upload it into your theme folder, and any of the ids would be theme-able using CSS.
Just some more ideas *grin.
Update:
You also need to add the following to your template.php file:
------------------------
http://fraggles.artsci.wustl.edu (Drupal user documentation and development blog)
thank you!...I was missing
thank you!...I was missing that function.
David.
search box design
You can get tons of
search box design and inspiration
from http://www.bigsearchbar.com
.
Website - http://www.bigsearchbar.com - does not exist anymore.
Any suggestion how to do the same in D8
Any suggestion how to do the same in D8 OR create something like in https://blog.hubspot.com/.