How can I add search to the topbar?

Dear Elgg Developers.....I need an urgent help.......am trying to add search in topbar....So i put this code echo elgg_view('search/search_box', array('class' => 'elgg-search-header')); in views/default/page/elements/topbar.php its worked but i need to align this search to center or before settings link in topbar......So can u tell me how to do that.....

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking