Go Back   Cutline Support Forums > Cutline Theme Support > Community Exchange > Header & Nav Bar

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2009, 05:33 AM
icewalker icewalker is offline
Newbie
 
Join Date: May 2009
Posts: 1
Default HowTo Search Box in header ?

Hi,

I use cutline-3-column-split-11 on a wp 2.7

The search box is on the left side placed by a widget.

Is there any way to add it in the header left or right side.

Thank you in advance

icewalker
Reply With Quote
  #2  
Old 05-18-2009, 10:03 AM
admin admin is offline
Administrator
 
Join Date: Feb 2009
Posts: 426
Default

Edit header.php under Appearance > Editor then find this line:

PHP Code:
<li class="rss"><a href="<?php bloginfo('rss2_url'); ?>">Subscribe</a></li>
After it, add this line:

PHP Code:
<li><?php get_search_form(); ?></li>
You might have to do a bit of CSS tweaking to display correctly though.


Quote:
Originally Posted by icewalker View Post
Hi,

I use cutline-3-column-split-11 on a wp 2.7

The search box is on the left side placed by a widget.

Is there any way to add it in the header left or right side.

Thank you in advance

icewalker
Reply With Quote
  #3  
Old 09-18-2009, 06:47 AM
adell50 adell50 is offline
Regular
 
Join Date: Sep 2009
Posts: 18
Smile css help??

I was able to place the search bar in the header! many thanks!!

I want to slide the box all the way to the right, and place the rss button, just to the left of the box..

my blog can be found at www.continuingeducationjournal.com

Any ideas?

Many thanks!!!
Reply With Quote
  #4  
Old 09-18-2009, 10:32 AM
admin admin is offline
Administrator
 
Join Date: Feb 2009
Posts: 426
Default

Add a class to the <li> of your search, like so:

PHP Code:
<li class="search"><?php get_search_form(); ?></li>
And instead of putting it AFTER the RSS <li>, put it BEFORE.

Then give it a float: right in your style.css file:

Code:
ul#nav li.search { float: right; padding: 0.5em 0 0 1em; }
Right before this line:

Code:
ul#nav li.rss { padding: 0.85em 0 0.7em 0; float: right; }



Quote:
Originally Posted by adell50 View Post
I was able to place the search bar in the header! many thanks!!

I want to slide the box all the way to the right, and place the rss button, just to the left of the box..

my blog can be found at www.continuingeducationjournal.com

Any ideas?

Many thanks!!!
Reply With Quote
  #5  
Old 09-19-2009, 12:58 PM
adell50 adell50 is offline
Regular
 
Join Date: Sep 2009
Posts: 18
Default

genius, i tell you! genius!

thank you very much!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 08:32 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.