Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #348147

    Dear,
    can I remove search popup and set it normal box append it to header menu ?!

    #348411

    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

    #348731

    no its not working , it disappeared at all no search appending to menu

    #348986

    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

    #349095

    thanks it works :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘remove search popup’ is closed to new replies.