-
AuthorPosts
-
May 13, 2014 at 3:29 pm #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!May 15, 2014 at 6:50 am #265114Hey!
Could you link that previous entry you mention?
Regards,
JosueMay 19, 2014 at 5:28 am #266644Hi Josue,
Here is the entry:
https://kriesi.at/support/topic/enfold-edit-header-css-search-bar/br
RonaldMay 19, 2014 at 12:57 pm #266756Hey!
Please go to Enfold/Includes folder and helper-main-menu.php file and make the changes there instead
Regards,
YigitMay 19, 2014 at 1:00 pm #266759Helo Yigit,
But the change will be overridden by the next update, correct?
Is there a solution for the cild theme solely?
br
RonaldMay 19, 2014 at 5:08 pm #266843Hi!
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!
JosueMay 20, 2014 at 1:01 pm #267260Dear Josue,
Just tried it, but did not work out, the site is completey empty (whitescreen) if using this code.
Any idea?
br
RonaldMay 20, 2014 at 4:23 pm #267356Hi!
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,
YigitMay 21, 2014 at 1:01 am #267724Hello 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
RonaldMay 21, 2014 at 1:23 pm #267977 -
AuthorPosts
- The topic ‘Searchbox in Header Menu’ is closed to new replies.
