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)
-   -   How to get the Search bar to sit below the logo (http://forum.bytesforall.com/showthread.php?t=1475)

Whatsthatcat? Apr 29, 2009 12:52 PM

How to get the Search bar to sit below the logo
 
I have a logo image that spans (is the same width as) the content layout of my blog. I would like to sit the seach box just below this, as currently the logo image is pushing the box all the way to the right of the logo image.

http://www.gemberlingandgwinn.com/

any help? my apologies if this has been addressed by another thread! I looked around and didn't see anything.

thanks!

Flynn Apr 29, 2009 06:36 PM

You would have to edit bfa_header_config.php for this and insert a new <tr><td>...</td><td>..</td></tr> line below the existing one (that contains the logo).

For your version 3.2

Replace

PHP Code:

    $logo_area .= '</tr></table>';    
    
// END of Logo Area 


with

PHP Code:

    $logo_area .= '</tr><tr><td></td>

<td valign="bottom" class="search-box" align="right">
<div class="searchbox">
<form method="get" class="searchform" action="' 

get_bloginfo'url' ) . '/"><div class="searchbox-form">
<input type="text" class="text inputblur" onfocus="this.value=\''
.
(
get_search_query() ? get_search_query() : '' ).'\'" 
value="' 
. (get_search_query() ? get_search_query() : 
$bfa_ata_searchbox_text ) . '" onblur="this.value=\'' 
(
get_search_query() ? get_search_query() : 
$bfa_ata_searchbox_text ).'\'" name="s" />
</div>
</form>
</div>
</td>

</tr></table>'
;    
    
// END of Logo Area 


And turn the search box off at Theme Options -> Header -> Show search box?


All times are GMT -6. The time now is 03:14 AM.

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