Dear,
can I remove search popup and set it normal box append it to header menu ?!
Hey kyabroudi!
Try adding this to the bottom of your /enfold/functions.php file.
add_filter( 'init', 'enfold_customization_remove_tooltip_search' );
function enfold_customization_remove_tooltip_search() {
remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 );
add_filter( 'avf_fallback_menu_items', 'enfold_customization_add_basic_search' );
}
function enfold_customization_add_basic_search( $items ) {
$items .= '<li>'.get_search_form( false ).'</li>';
return $items;
}
And add this to your custom CSS.
li #searchform div {
display: block !important;
opacity: 1 !important;
margin-top: 22px;
margin-left: 10px;
}
Best regards,
Elliott
no its not working , it disappeared at all no search appending to menu
Hey!
1- Please go to Enfold theme options > Header > Extra Elements and uncheck “Append search icon to main menu”
2- Refer to my post here – https://kriesi.at/support/topic/search-not-working-in-ie8/#post-328178
Best regards,
Yigit
thanks it works :)