{"id":23252,"date":"2016-08-16T12:14:07","date_gmt":"2016-08-16T11:14:07","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/west-copy\/"},"modified":"2016-08-16T12:24:05","modified_gmt":"2016-08-16T11:24:05","slug":"mystique","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/mystique\/","title":{"rendered":"Mystique"},"content":{"rendered":"<p>When Max Mega Menu is enabled in Mystique you will see 2 main menu bars and a duplicate mobile toggle button.<\/p>\n<h4>Step 1. Remove duplicate menu bar and mobile toggle button<\/h4>\n<p>Go to <em>Appearance &gt; Editor<\/em> and select &#8216;core.php&#8217; on the right. Note: changes to theme files should be made in a Child Theme.<\/p>\n<p>Find:<\/p>\n<pre class=\"lang:php decode:true \">&lt;nav class=\"main-nav\"&gt;\r\n    &lt;div class=\"kid-site-container\"&gt;\r\n        &lt;div class=\"header-inner clear-fix\"&gt;\r\n            &lt;div class=\"mobile\"&gt;\r\n                &lt;i class=\"fa fa-bars\"&gt;&lt;\/i&gt;\r\n            &lt;\/div&gt;\r\n            &lt;?php\r\n                wp_nav_menu( array(\r\n                    'theme_location' =&gt; 'menu-main',\r\n                    'container_id' =&gt; 'main-menu',\r\n                    'walker' =&gt; new kid_Walker,\r\n                    'depth' =&gt; '3' ) );\r\n                wp_nav_menu( array(\r\n                    'theme_location' =&gt; 'menu-main',\r\n                    'depth' =&gt; '2',\r\n                    'container_id' =&gt; 'main-mobile-menu' ) );\r\n            ?&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;!-- main-nav-inner --&gt;\r\n&lt;\/nav&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:php decode:true \">&lt;nav class=\"main-nav\"&gt;\r\n    &lt;div class=\"kid-site-container\"&gt;\r\n        &lt;div class=\"header-inner clear-fix\"&gt;\r\n            &lt;?php if ( function_exists( 'max_mega_menu_is_enabled' ) &amp;&amp; max_mega_menu_is_enabled( 'main-menu' ) ): ?&gt;\r\n                &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'menu-main' ) ); ?&gt;\r\n            &lt;?php else: ?&gt;\r\n                &lt;div class=\"mobile\"&gt;\r\n                    &lt;i class=\"fa fa-bars\"&gt;&lt;\/i&gt;\r\n                &lt;\/div&gt;\r\n                &lt;?php\r\n                    wp_nav_menu( array(\r\n                        'theme_location' =&gt; 'menu-main',\r\n                        'container_id' =&gt; 'main-menu',\r\n                        'walker' =&gt; new kid_Walker,\r\n                        'depth' =&gt; '3' ) );\r\n                    wp_nav_menu( array(\r\n                        'theme_location' =&gt; 'menu-main',\r\n                        'depth' =&gt; '2',\r\n                        'container_id' =&gt; 'main-mobile-menu' ) );\r\n                ?&gt;\r\n            &lt;?php endif; ?&gt;\r\n        &lt;\/div&gt;\r\n    &lt;\/div&gt;&lt;!-- main-nav-inner --&gt;\r\n&lt;\/nav&gt;<\/pre>\n<h4>Step 2: Fix mobile menu z-index<\/h4>\n<p>Go to <em>Mega Menu &gt; Menu Themes<\/em> and insert the following into the Custom Styling area:<\/p>\n<pre class=\"lang:default decode:true\">#{$wrap} {\r\n    position: relative;\r\n    z-index: 99999;\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When Max Mega Menu is enabled in Mystique you will see 2 main menu bars and a duplicate mobile toggle button. Step 1. Remove duplicate menu bar and mobile toggle button Go to Appearance &gt; Editor and select &#8216;core.php&#8217; on the right. Note: changes to theme files should be made&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"template-documentation.php","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-23252","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":"When Max Mega Menu is enabled in Mystique you will see 2 main menu bars and a duplicate mobile toggle button. Step 1. Remove duplicate menu bar and mobile toggle button Go to Appearance &gt; Editor and select &#8216;core.php&#8217; on the right. Note: changes to theme files should be made...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/23252","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=23252"}],"version-history":[{"count":6,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/23252\/revisions"}],"predecessor-version":[{"id":23258,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/23252\/revisions\/23258"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=23252"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=23252"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=23252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}