{"id":121751,"date":"2017-08-05T11:00:17","date_gmt":"2017-08-05T10:00:17","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/fluida-copy\/"},"modified":"2017-08-05T11:10:22","modified_gmt":"2017-08-05T10:10:22","slug":"flexsqueeze-2","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/flexsqueeze-2\/","title":{"rendered":"FlexSqueezeII"},"content":{"rendered":"<h3>Fix Mobile Menu<\/h3>\n<h4>Step 1<\/h4>\n<p>Copy the header.php file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme<\/a>.<\/p>\n<p>Find:<\/p>\n<pre class=\"lang:default decode:true\">get_template_part( 'includes\/nav.inc');<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true\">if ( function_exists('max_mega_menu_is_enabled') &amp;&amp; max_mega_menu_is_enabled('primary-menu') ) {\r\n    wp_nav_menu(array('theme_location' =&gt; 'primary-menu'));\r\n} else {\r\n    get_template_part( 'includes\/nav.inc');\r\n}<\/pre>\n<h4>Step 2<\/h4>\n<p>Go to <i>Mega Menu &gt; Menu Themes &gt; Custom Styling<\/i>\u00a0and paste in the following:<\/p>\n<pre class=\"lang:default decode:true \">@include desktop {\r\n    #{$wrap} #{$menu} {\r\n        max-width: 960px;\r\n        margin: 0 auto;\r\n    }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix Mobile Menu Step 1 Copy the header.php file to your Child Theme. Find: get_template_part( &#8216;includes\/nav.inc&#8217;); Replace with: if ( function_exists(&#8216;max_mega_menu_is_enabled&#8217;) &amp;&amp; max_mega_menu_is_enabled(&#8216;primary-menu&#8217;) ) { wp_nav_menu(array(&#8216;theme_location&#8217; =&gt; &#8216;primary-menu&#8217;)); } else { get_template_part( &#8216;includes\/nav.inc&#8217;); } Step 2 Go to Mega Menu &gt; Menu Themes &gt; Custom Styling\u00a0and paste in the following:&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-121751","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 Step 1 Copy the header.php file to your Child Theme. Find: get_template_part( 'includes\/nav.inc'); Replace with: if ( function_exists('max_mega_menu_is_enabled') &amp;&amp; max_mega_menu_is_enabled('primary-menu') ) { wp_nav_menu(array('theme_location' =&gt; 'primary-menu')); } else { get_template_part( 'includes\/nav.inc'); } Step 2 Go to Mega Menu &gt; Menu Themes &gt; Custom Styling\u00a0and paste in the following:...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/121751","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=121751"}],"version-history":[{"count":7,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/121751\/revisions"}],"predecessor-version":[{"id":121758,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/121751\/revisions\/121758"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=121751"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=121751"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=121751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}