Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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


  #1  
Old Apr 29, 2009, 12:52 PM
Whatsthatcat?
 
25 posts · Mar 2009
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!
  #2  
Old Apr 29, 2009, 06:36 PM
Flynn's Avatar
Flynn
 
3,768 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 07:25 PM.


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