-
AuthorPosts
-
August 28, 2017 at 10:31 pm #845065
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,
LuisAugust 28, 2017 at 10:53 pm #845073Hey 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 ShannonAugust 28, 2017 at 11:28 pm #845092Thanks 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’ );
}August 28, 2017 at 11:37 pm #845097Hi,
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 ShannonAugust 28, 2017 at 11:54 pm #845105Sorry 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 …
August 28, 2017 at 11:58 pm #845109Hi,
Please provide admin info so I can log in and look into this further.
Best regards,
Jordan ShannonAugust 29, 2017 at 2:07 pm #845327Hi 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
LuisAugust 29, 2017 at 10:32 pm #845474Hi,
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 -
AuthorPosts
- The topic ‘Search field in the menubar instead of a dropdown on click of icon’ is closed to new replies.
