{"id":101127,"date":"2017-01-13T11:14:41","date_gmt":"2017-01-13T11:14:41","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/minamaze-copy\/"},"modified":"2017-01-13T11:24:34","modified_gmt":"2017-01-13T11:24:34","slug":"construction","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/construction\/","title":{"rendered":"Construction"},"content":{"rendered":"<h3>Fix Mobile Menu<\/h3>\n<p>Copy the theme header.php (wp-content\/themes\/construction\/header.php) file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a>.<\/p>\n<p><em>If you do not have a child theme set up, you can edit the parent theme header.php file instead, but note you will <strong>lose your changes<\/strong> if the theme gets updated.<\/em><\/p>\n<p>In the header.php file, find (~line 86):<\/p>\n<pre class=\"lang:default decode:true\">&lt;nav id=\"site-navigation\" class=\"main-navigation\" role=\"navigation\"&gt;\r\n    &lt;div id=\"nav-toggle\"&gt;&lt;i class=\"fa fa-bars\"&gt;&lt;\/i&gt;&lt;\/div&gt;\r\n    &lt;ul class=\"wpc-menu\"&gt;\t\r\n         &lt;?php wp_nav_menu( array('theme_location' =&gt; 'primary', 'container' =&gt; '', 'items_wrap' =&gt; '%3$s' ) ); ?&gt;\r\n    &lt;\/ul&gt;\r\n&lt;\/nav&gt;&lt;!-- #site-navigation --&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true\">&lt;nav id=\"site-navigation\" role=\"navigation\"&gt;\r\n    &lt;?php wp_nav_menu( array('theme_location' =&gt; 'primary', 'container' =&gt; '', 'items_wrap' =&gt; '%3$s' ) ); ?&gt;\r\n&lt;\/nav&gt;&lt;!-- #site-navigation --&gt;<\/pre>\n<p>Save the file.<\/p>\n<p>You should now see the default Max Mega Menu mobile menu on smaller screens.<\/p>\n<p>To increase the gap between the logo and the menu, go to <em>Theme Options &gt; Custom CSS<\/em> and paste in the following:<\/p>\n<pre class=\"lang:default decode:true \">@media screen and (max-width: 1100px) {\r\n    .site-header .header-right-wrap {\r\n        margin-top: 50px;\r\n    }\r\n}<\/pre>\n<h3>Full Width Sub Menus<\/h3>\n<p>To make mega sub menus span the full width of the page content, go to <em>Mega Menu &gt; Menu Themes<\/em> and set the Panel Width (Outer) to:<\/p>\n<pre class=\"lang:default decode:true \">.container<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fix Mobile Menu Copy the theme header.php (wp-content\/themes\/construction\/header.php) file to your child theme. If you do not have a child theme set up, you can edit the parent theme header.php file instead, but note you will lose your changes if the theme gets updated. In the header.php file, find (~line&#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":[15],"ht-kb-tag":[],"class_list":["post-101127","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 Copy the theme header.php (wp-content\/themes\/construction\/header.php) file to your child theme. If you do not have a child theme set up, you can edit the parent theme header.php file instead, but note you will lose your changes if the theme gets updated. In the header.php file, find (~line...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/101127","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=101127"}],"version-history":[{"count":5,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/101127\/revisions"}],"predecessor-version":[{"id":101132,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/101127\/revisions\/101132"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=101127"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=101127"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=101127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}