Return to Snippet

Revision: 25153
at March 21, 2010 18:41 by kristarella


Initial Code
function add_search_nav() {
?>
	<li class="search"><?php thesis_search_form(); ?></li>
<?php
}
add_action('thesis_hook_last_nav_item','add_search_nav');

Initial URL
http://www.kristarella.com/2009/04/full-width-headers-in-thesis-15/#comment-67088

Initial Description
Add the PHP to custom_functions.php and the following CSS to custom.css

.custom ul.menu li.search {float:right;}
	.custom ul.menu li.search form {padding:0.3em;}
		.custom ul.menu li.search form input {padding:0.4em;}

Initial Title
Add search bar to Thesis nav

Initial Tags
wordpress

Initial Language
PHP