-
AuthorPosts
-
February 24, 2014 at 8:38 pm #228659
Please, I will soon commence design with your enfold theme I purchased.
I am in discusiion with a propective client, and he is suggesting that instead of your icon collapsible text box, he would like to have a full (non collapsible) Text Box on the Right Hand Side of the Top Menu Bar.
Please, how can this be achieved with your theme?February 25, 2014 at 4:54 pm #229058Hey emin!
Please go to Appearance > Editor and open Header.php file and find
wp_nav_menu($args); echo '</nav>';
and add following right below it
get_search_form();
Then add following code to Quick CSS in Enfold theme options under Styling tab
#header #searchform { float: right; padding-top: 37px; } .main_menu { right: 20%; } #top #menu-item-search { display: none; }
Please hire a freelance developer if further customization is needed
Regards,
YigitFebruary 25, 2014 at 8:04 pm #229167This reply has been marked as private.February 25, 2014 at 8:17 pm #229174Hey!
Please try and let us know. Thread will be on hold and will be re-opened when you reply to this topic.
Best regards,
YigitApril 12, 2014 at 9:37 am #250485Hello,
I have the same problem. I can’t find “wp_nav_menu($args);” in header.php. I find it in includes/helper-main-menu.php, but after I put the code is not aligned with menu. Please can you help me?
sorry for my english,
Thank youApril 13, 2014 at 8:21 am #250680Hi!
Thank you for the update.
@shrinker31: Do you mind if we take a look the test site? We can align the search form and the menus using css. Please post the website url here as a private reply.Cheers!
IsmaelJuly 11, 2015 at 11:10 am #471824Dear Support,
Please, I am now trying to put your search icon now on the right hand side of the header above the mega menu on a client’s website.
I could not find “wp_nav_menu($args);” in header.php. I found it in includes/helper-main-menu.php of the enfold child theme i used for the uber menu. But, after I put the code “get_search_form();” just below “echo ‘</nav>’;” and added your recommended CSS code to the Quick CSS, the search box is not displaying in the header above the menu; it is displaying below the header menu in the slider position.Please kindly assist
Regards,
Emin
July 13, 2015 at 11:36 am #472285Hi!
Please add a widget area to your header instead by referring to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
YigitJuly 13, 2015 at 12:27 pm #472328Please, I did the following, but i am still not seeing the search box in the header:
1. I added the following the the bottom of the child theme functions.php file:
add_action( ‘ava_after_main_menu’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}2. I went to appearance —> widgets and created a widget area called “header”
3. I added the search widget in the header widget area
4. I added the following CSS code to the QuickCSS#header .widget {
left: 50%;t
padding-top: 0;
position: absolute;
top: 0;
transform: translate(-50%);
}Please, kindly assis
July 13, 2015 at 12:31 pm #472332Hey!
Please review your website now. I have adjusted custom CSS code slightly and then added one additional one to the bottom of Quick CSS field.
Cheers!
YigitJuly 13, 2015 at 12:43 pm #472346It is OK now.
A big thank you, Yigit, for your excellent support.
I believe I can adjust the horizontal position of the search widget by adjusting the value of left: 50%;Please, I have other open threads. Kindly assist.
Regards,
Emin
July 13, 2015 at 1:16 pm #472372 -
AuthorPosts
- The topic ‘Placing a full Search Box’ is closed to new replies.