{"id":129233,"date":"2017-10-20T10:54:19","date_gmt":"2017-10-20T09:54:19","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/menu-with-centered-logo-copy\/"},"modified":"2017-10-20T11:21:14","modified_gmt":"2017-10-20T10:21:14","slug":"ajax-search-lite-pro","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/ajax-search-lite-pro\/","title":{"rendered":"Using Ajax Search Lite\/Pro with Max Mega Menu"},"content":{"rendered":"<p>AJAX Search <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/ajax-search-lite\/\">Lite<\/a> \/ <a href=\"https:\/\/codecanyon.net\/item\/ajax-search-pro-for-wordpress-live-search-plugin\/3357410\">Pro<\/a> is a live search plugin for WordPress. Using the &#8220;Replacements&#8221; functionality in <a href=\"https:\/\/www.megamenu.com\/upgrade\/\">Max Mega Menu Pro<\/a> it is possible to display the search bar directly within the menu.<\/p>\n<h3>Step 1: Ajax Search Setup<\/h3>\n<p>Make sure the &#8220;Search box width&#8221; is set to a fixed width value, e.g. 200px (do not use a percentage based value).<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129239\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup.png\" alt=\"\" width=\"2244\" height=\"1666\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup.png 2244w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup-300x223.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup-768x570.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup-1024x760.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-setup-50x37.png 50w\" sizes=\"auto, (max-width: 2244px) 100vw, 2244px\" \/><\/a><\/p>\n<h3>Step 2: Max Mega Menu setup<\/h3>\n<p>Make sure the &#8220;Reset Widget Styling&#8221; option is unchecked:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129242\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup.png\" alt=\"\" width=\"2300\" height=\"1666\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup.png 2300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup-300x217.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup-768x556.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup-1024x742.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-mmm-setup-50x36.png 50w\" sizes=\"auto, (max-width: 2300px) 100vw, 2300px\" \/><\/a><\/p>\n<h3>Step 3: Menu Structure<\/h3>\n<p>Create a new Custom Link menu item and add it to the menu (it does not matter what you set the &#8220;URL&#8221; and &#8220;Link Text&#8221; to).<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129243\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item.png\" alt=\"\" width=\"2300\" height=\"1712\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item.png 2300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item-300x223.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item-768x572.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item-1024x762.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-menu-item-50x37.png 50w\" sizes=\"auto, (max-width: 2300px) 100vw, 2300px\" \/><\/a><\/p>\n<p>Save the menu structure.<\/p>\n<h3>Step 4: Mega Menu Settings<\/h3>\n<p>Hover over the new menu item and click the blue &#8220;Mega Menu&#8221; button:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129244\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button.png\" alt=\"\" width=\"2300\" height=\"1712\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button.png 2300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button-300x223.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button-768x572.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button-1024x762.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-blue-button-50x37.png 50w\" sizes=\"auto, (max-width: 2300px) 100vw, 2300px\" \/><\/a><\/p>\n<p>Go to the &#8220;Replacements&#8221; tab and set the following:<\/p>\n<ul>\n<li>Type: HTML<\/li>\n<li>Mode: Replace the whole menu item link<\/li>\n<li>HTML: Paste in the Ajax Search Lite\/Pro shortcode (found on the Ajax Search Lite\/Pro settings page)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129245\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements.png\" alt=\"\" width=\"2650\" height=\"1712\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements.png 2650w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements-300x194.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements-768x496.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements-1024x662.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-replacements-50x32.png 50w\" sizes=\"auto, (max-width: 2650px) 100vw, 2650px\" \/><\/a><\/p>\n<h3>End Result<\/h3>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-129247\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result.png\" alt=\"\" width=\"2650\" height=\"1712\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result.png 2650w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result-300x194.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result-768x496.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result-1024x662.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/10\/asl-result-50x32.png 50w\" sizes=\"auto, (max-width: 2650px) 100vw, 2650px\" \/><\/a><\/p>\n<p>The search box can be floated to the right of the menu using the &#8220;<a href=\"https:\/\/www.megamenu.com\/documentation\/menu-item-options\/\">Menu Item Align<\/a>&#8221; option. The position and styling of the search box can be further modified using the options within the Ajax Search plugin settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AJAX Search Lite \/ Pro is a live search plugin for WordPress. Using the &#8220;Replacements&#8221; functionality in Max Mega Menu Pro it is possible to display the search bar directly within the menu. Step 1: Ajax Search Setup Make sure the &#8220;Search box width&#8221; is set to a fixed width&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[14],"ht-kb-tag":[],"class_list":["post-129233","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faqs"],"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Tom Hemsley","author_link":"https:\/\/www.megamenu.com\/author\/megamenu\/"},"uagb_comment_info":0,"uagb_excerpt":"AJAX Search Lite \/ Pro is a live search plugin for WordPress. Using the &#8220;Replacements&#8221; functionality in Max Mega Menu Pro it is possible to display the search bar directly within the menu. Step 1: Ajax Search Setup Make sure the &#8220;Search box width&#8221; is set to a fixed width...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/129233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/comments?post=129233"}],"version-history":[{"count":3,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/129233\/revisions"}],"predecessor-version":[{"id":129249,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/129233\/revisions\/129249"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=129233"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=129233"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=129233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}