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 »

[SOLVED] Put search form in header?


  #1  
Old Nov 18, 2010, 04: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, 08:12 PM
juggledad's Avatar
juggledad
 
23,765 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, 11: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



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 04: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 09:56 AM
How to put Search, Posts, bar on overlayed image header? Hellvis Header configuration & styling 0 Dec 24, 2009 09:30 AM
[SOLVED] Put Form in Header kippiper Header configuration & styling 4 Oct 17, 2009 03:17 PM
Put search bar in header image area? genevieve Header configuration & styling 0 Jun 19, 2009 07:19 PM


All times are GMT -6. The time now is 11:42 AM.


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