Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

How to get the Search bar to sit below the logo


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 29, 2009, 12:52 PM
Whatsthatcat?
 
25 posts · Mar 2009
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!
  #2  
Old Apr 29, 2009, 06:36 PM
Flynn's Avatar
Flynn
 
3,765 posts · Oct 2008
Munich, Germany
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?

Bookmarks

Tags
search bar, search bar position, search box, search box position

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Banner ad in top bar or logo area? paulae Header configuration & styling 28 Mar 21, 2011 02:17 PM
[SOLVED] google search bar in header area phryedrice Header configuration & styling 1 Nov 5, 2009 11:10 PM
Want to move the search box under the logo neska0209 Header configuration & styling 3 Jul 14, 2009 07:34 PM
Put search bar in header image area? genevieve Header configuration & styling 0 Jun 19, 2009 06:19 PM
Switch positions of logo and search box? Logo on right side DogBot Header configuration & styling 1 Jun 12, 2009 10:17 AM


All times are GMT -6. The time now is 09:21 PM.


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