By farnsworth on
What i would like to do is have the site search bar on the right side of the primary links menu as seen in http://drupal.org/node/206432
but i can not figure out how to do this and searching drupal does not give me any thing, if any one knows how to do this or a knows where the link to do this is please let me know.
Thanks,
Farns
Comments
page.tpl.php
Find the page.tpl.php in your theme, look for where the $search_box variable is printed, and move it where you want, near the $primary_nav variable.
___________________
It’s in the detaιls…
demonstration portfolio
hey thanks for the tip i
hey thanks for the tip i have been messing around with it, i still have a problem no mater where i place
print $search_box;it pushes the primary links down or ends up below them. I am using Admire Gray as a them if you can give me any more help,here is the nav from the page i am working with
if (isset($primary_links)){}if (isset($secondary_links)) {print theme('links', $secondary_links, array('class' =>'links', 'id' => 'nav2links'))}Firebug rules OK!
If you put it before or after, and then change the css to make it appear where you want – try
#search-theme-form {float: right;}for starters.Also; get firefox and firebug – you can experiment ‘on the fly’.
___________________
It’s in the detaιls…
demonstration portfolio
hey thanks for the help
hey thanks for the help worked perfect