Comments akmalpunya started the conversationJuly 27, 2017 at 2:18amHow can i make the ”search area” or ”search icon” sitting on the same level of menu (nav). for example: item1, item2, item3, search iconI want it to behave like this cart icon: http://codex-themes.com/scalia/starting_page/themes.php?page=scalia And also I want to do some settings on the search result page (change background image, remove sidebar). Where can i find this? 7,092Oliver repliedJuly 27, 2017 at 9:28amHI! Sorry, without code changes it's not possible, here is an example of filter for adding any block to the menu: function scalia_menu_item_search($items, $args){ if($args->theme_location == 'primary'){ $items .= '<li class="menu-item menu-item-search"><form role="search" id="searchform" class="sf" action="'. esc_url( home_url( '/' ) ) .'" method="GET"><input id="searchform-input" class="sf-input" type="text" placeholder="'.esc_html__('Search...', 'scalia').'" name="s"><span class="sf-submit-icon"></span><input id="searchform-submit" class="sf-submit" type="submit" value=""></form></li>'; } return $items; } add_filter('wp_nav_menu_items', 'scalia_menu_item_search', 20, 2); You need to add this code to the functions php of the child theme.Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
How can i make the ”search area” or ”search icon” sitting on the same level of menu (nav). for example:
item1, item2, item3, search icon
I want it to behave like this cart icon: http://codex-themes.com/scalia/starting_page/themes.php?page=scalia
And also I want to do some settings on the search result page (change background image, remove sidebar). Where can i find this?
HI!
Sorry, without code changes it's not possible, here is an example of filter for adding any block to the menu:
You need to add this code to the functions php of the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver