Reply To: To remove Search icon from menu and add it in top header with Logout button

Home Forums WordPress Themes – Premium Styled Store Pro To remove Search icon from menu and add it in top header with Logout button Reply To: To remove Search icon from menu and add it in top header with Logout button

#49244
Sushil Adhikari
Moderator

HI Muhammad Tariq.

You can paste this code on child theme functions.php file to remove search form from header menu:

function styledstore_add_search_form_with_navigation_menu( $items, $args ) {
	return $items;
}

And to add searchform on top bar you need to customize the header.php template. Be sure you customize it keeping on child theme otherwise your changes will lost on theme update.

Thanks