{"id":211826,"date":"2019-09-02T10:23:59","date_gmt":"2019-09-02T09:23:59","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/mann-copy\/"},"modified":"2020-09-18T15:55:19","modified_gmt":"2020-09-18T14:55:19","slug":"airi","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/airi\/","title":{"rendered":"Airi"},"content":{"rendered":"<h3>Fix Mobile Menu<\/h3>\n<p>Airi automatically closes the mobile sub menu when any of the links are clicked, and also adds an extra sub menu toggle icon. To fix both of these issues, install the <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/tc-custom-javascript\/\">TC Custom JavaScript<\/a> plugin then go to <em>Appearance &gt; Custom JavaScript<\/em> and add the following:<\/p>\n<pre class=\"lang:default decode:true \">jQuery(document).ready(function($){\r\n  jQuery('body.mega-menu-menu-1 #site-navigation').unbind();\r\n  jQuery(\"body.mega-menu-menu-1 .header-search-cart\").remove();\r\n  jQuery(\"body.mega-menu-menu-1 .header-mobile-menu\").remove();\r\n  jQuery(\"body.mega-menu-menu-1 #mega-menu-wrap-menu-1 .subnav-toggle\").remove();\r\n  jQuery(\"body.mega-menu-menu-1 .main-navigation\").removeClass('main-navigation');\r\n});<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix Mobile Menu Airi automatically closes the mobile sub menu when any of the links are clicked, and also adds an extra sub menu toggle icon. To fix both of these issues, install the TC Custom JavaScript plugin then go to Appearance &gt; Custom JavaScript and add the following: jQuery(document).ready(function($){&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-211826","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-theme-integration"],"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":"Fix Mobile Menu Airi automatically closes the mobile sub menu when any of the links are clicked, and also adds an extra sub menu toggle icon. To fix both of these issues, install the TC Custom JavaScript plugin then go to Appearance &gt; Custom JavaScript and add the following: jQuery(document).ready(function($){...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/211826","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=211826"}],"version-history":[{"count":6,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/211826\/revisions"}],"predecessor-version":[{"id":211828,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/211826\/revisions\/211828"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=211826"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=211826"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=211826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}