Hi Kriesi,
I like to have the search field in the menubar instead of a dropdown on click of icon. Can you please tell me the changes that would be required?
Thanks a bunch,
Luis
Hey LUISCANAL,
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/ . You can then add the search widget to this location.
Best regards,
Jordan Shannon
Thanks Jordan, I already have one defined for a banner … to add the search this should be the code ?
add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
dynamic_sidebar( ‘header’ );
}
;
add_action( ‘ava_after_main_menu’, ‘enfold_customization_search_widget_area’ );
function enfold_customization_search_widget_area() {
dynamic_sidebar( ‘search’ );
}
Hi,
If you already have a widget area defined in the header, then you should just be able to drag the widget into it on the widget page.
Best regards,
Jordan Shannon
Sorry but I´m lost. I see the field now, under the banner, that I defined in the widget with css:
#header .widget {
padding-top: 2px;
padding-bottom: 1px;
text-align: center;
z-index:-1;
background-color: #ffffff;
}
Now, how do I place the SEARCH field INTO the menu, at the left. I do not want it at the top below the banner …
Hi,
Please provide admin info so I can log in and look into this further.
Best regards,
Jordan Shannon
Hi Jordan !
I fixed already using this post: https://kriesi.at/support/topic/enfold-removing-the-search-magnifying-glass-and-adding-in-the-search-field/
Thanks a bunch
Luis
Hi,
Great! I’m glad you were able to get this figured out. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon