Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Put search form in header?


  #1  
Old Nov 18, 2010, 03:25 PM
bswb97
 
158 posts · Aug 2010
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;
  #2  
Old Nov 18, 2010, 07:12 PM
juggledad's Avatar
juggledad
 
23,630 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 18, 2010, 10:17 PM
bswb97
 
158 posts · Aug 2010
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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put a Search form and format it in a page Mikii Center area post/pages 0 Jun 26, 2010 03:51 AM
How do I put the search box and subscribe buttons within header (not logo line)? saulta Header configuration & styling 0 Jan 31, 2010 08:56 AM
How to put Search, Posts, bar on overlayed image header? Hellvis Header configuration & styling 0 Dec 24, 2009 08:30 AM
[SOLVED] Put Form in Header kippiper Header configuration & styling 4 Oct 17, 2009 02:17 PM
Put search bar in header image area? genevieve Header configuration & styling 0 Jun 19, 2009 06:19 PM


All times are GMT -6. The time now is 04:33 PM.


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