Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #263970

    Hello!
    I would like to know how to put the search box OR the Products Search Box next to Logo, above Main Menu.
    Found a previous entry in the to look in the header.php, but I was not able to find it there.
    Thanks a lot in advance!

    #265114

    Hey!

    Could you link that previous entry you mention?

    Regards,
    Josue

    #266644
    #266756

    Hey!

    Please go to Enfold/Includes folder and helper-main-menu.php file and make the changes there instead

    Regards,
    Yigit

    #266759

    Helo Yigit,

    But the change will be overridden by the next update, correct?

    Is there a solution for the cild theme solely?

    br
    Ronald

    #266843

    Hi!

    Try putting this in your child functions.php file:

    function custom_code_header(){
    	echo "<div class='header-search'>";
    	get_search_form();
    	echo "</div>";
    }
    add_action('ava_after_main_menu', 'custom_code_header')

    Cheers!
    Josue

    #267260

    Dear Josue,
    Just tried it, but did not work out, the site is completey empty (whitescreen) if using this code.
    Any idea?
    br
    Ronald

    #267356

    Hi!

    Please go to Enfold/Includes folder and helper-main-menu.php file and find

    if($headerS['header_social'] == 'icon_active_main' && !empty($headerS['bottom_menu'])) echo $icons;

    and add following code right below it

    get_search_form();

    and adjust its position using following selector

    #header form#searchform { margin-left: 40%; }

    Regards,
    Yigit

    #267724

    Hello Yigit,

    This did work out fine from the first try,

    Following needs to be settled:

    1) The searchfiled isn’t responsive
    2) The background of the ajax results is transparent, how can it be white?

    Which CSS class/selector does the layout for the search box itsself?

    Thank you for your ideas!

    br
    Ronald

    #267977

    Hi!

    Can you post the link to your website Ronald so we can provide you more accurate custom CSS code?

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Searchbox in Header Menu’ is closed to new replies.