Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Search Button (http://forum.bytesforall.com/showthread.php?t=633)

Cali Mar 3, 2009 06:07 PM

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.

Cali Mar 5, 2009 09:07 PM

Anyone got any pointers on this change or can't it be done?

paulae Mar 11, 2009 04:11 PM

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/

Memento Vivi Jun 23, 2009 06:04 AM

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.

mmorneau Jul 13, 2009 01:33 PM

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

Flynn Jul 15, 2009 01:09 PM

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

vlaskr Jul 19, 2009 04:24 PM

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;
}

mmorneau Jul 23, 2009 08:43 PM

Thanks. I'll try these!


All times are GMT -6. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.