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)
-   -   [SOLVED] Put search form in header? (http://forum.bytesforall.com/showthread.php?t=11243)

bswb97 Nov 18, 2010 03:25 PM

[SOLVED] Put search form in header?
 
I've never had a problem putting icons or text above the header with Atahualpa. However, I'm trying to move the search form from the widget to the header. In this case, next to the Facebook/Twitter icons I have in the header.

See beta.capayorganic.com for the site.

You can see where I've inserted the icon code here. The rest is native Atahualpa code.

HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<div align=center style="padding: 0px 0px 0px 750px;">

<a href="http://www.facebook.com/farmfreshtoyou"><img src="/facebook-32x32.png"></a> <a href="http://www.twitter.com/capayorganic"><img src="/twitter-32x32.png"></a> <img src="/rss-32x32.png">
</div>

<?php /* if index.php or another page template (copied from index.php) was not used
(i.e. by a plugin such as WPG2), the global $bfa_ata would be empty */
global $bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2;


juggledad Nov 18, 2010 07:12 PM

it looks like you have stuck this HTML in index.php, but this is not the place it should go. At this point, you are putting it in the <head>...</head> area and it needs to go into the <body> so it needs to go after teh <body...> statement

bswb97 Nov 18, 2010 10:17 PM

Resolved. Rather than hard-code it in there, I used the Header Area options search bar and just tweaked the Margin settings until I got it where I wanted it.


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

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