Okay
  Public Ticket #2327789
Search Box on the mobile menu
Closed

Comments

  • alvaro_lagarde started the conversation

    Hello I need to know how I can have in the mobile version, the same search box option as I had in the version 10. of the theme.

    Now it has changed to just an icon, but I need it to be like before with the text box so I can enter the search in the mobile version.

    Thank you very much.

  •  8,992
    Tahir replied

    Hey ,

     Hope you had a Great Weekend, 

    Try switching to the Original Skin in Salient Theme Options Panel -> General Settings. 

    Best 


    ThemeNectar Support Team 

  • alvaro_lagarde replied

    Hi, I made the change but it doesn't look like it did in version 10 of the theme.

    What I need is to leave the text box in the menu as the image shows as before.

    Thank you very much.

  •  8,992
    Tahir replied

    Hey Again,

    I believe its no longer available . Though escalating it to the developer to confirm .

    Best 


    ThemeNectar Support Team 

  •  1,089
    ThemeNectar replied

    Hey Alvaro,

    That legacy search was indeed changed to be triggered by a dedicated menu icon. You can add it back in by adding the following into a child theme functions.php file:

    add_action('nectar_hook_ocm_bottom_meta', 'salient_child_classic_search');
    function salient_child_classic_search() {
        echo '<div id="mobile-search">  
        <form action="'.home_url().'" method="GET">
                    <input type="text" name="s" value="" placeholder="Search...">
        </form> </div>';
    }
    

    Let me know if you need any assistance with the styling :)

    Cheers

  • alvaro_lagarde replied

    Thank you very much! It worked out very well!...