Search Button
I'd like to add a search button to the search bar in the header but can't figure out a way to achieve this. I understand that it's possible to add a search widget that includes a button to the sidebar but this is not ideal for me.
Any suggestions? Thanks in advance. |
Anyone got any pointers on this change or can't it be done?
|
I'm not sure what you mean by a search button. The default is a search field in the upper right above the right sidebar. I decided to put mine in the left sidebar using the built-in search widget:
http://larchmontgazette.com/wp27/ |
The client likes to have a button behind the search box.
I have managed to 'build' one, but I can't get this one in the header. http://www.appartementen-op-curacao.nl/ This is the code I used for the second searchbox <form method="get" style="padding: 5px;" action="<?php bloginfo('url'); ?>/"> <input type="text" name="s" style="" value="" onfocus="if (this.value == 'type, hit enter') {this.value = '';}" /><input style="vertical-align: top; padding: 0 0 0 10px;" type="image" src="<?php bloginfo('template_directory'); ?>/images/search.gif" /> </form> Is there a way to get the second searchbox in place of the first searchbox? I've tried to change the bfa_header_config.php - no luck. |
I'm in the same boat. We want a graphic "GO button to appear to the right of the search field and despite our attempts to modify the PHP script, we're still unsuccessful.
Any help would be greatly appreciated. Mike |
The code for the search widget is in functions/bfa_search_widget.php. Or put the search widget into a sidebar and look at resulting HTML code
|
I used search widget to place the search bar with button in the header. Just placed the widget at the top of right sidebar and used css insert to display it in the header:
div#search-3 { margin: -120px 0 80px 0; } |
Thanks. I'll try these!
|
All times are GMT -6. The time now is 10:18 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.