{"id":24972,"date":"2016-09-06T20:11:50","date_gmt":"2016-09-06T19:11:50","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/themify-ultra-copy\/"},"modified":"2016-09-06T20:19:09","modified_gmt":"2016-09-06T19:19:09","slug":"edupro","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/edupro\/","title":{"rendered":"Edu Pro"},"content":{"rendered":"<p>When Max Mega Menu is enabled you&#8217;ll notice the mobile menu behaves erratically in Edu Pro due to Residual Styling.<\/p>\n<h3>Fix Mobile Menu<\/h3>\n<p>Go to<em> Appearance &gt; Editor<\/em> and select header.php on the right.<\/p>\n<p>Find (line 91-102):<\/p>\n<pre class=\"lang:php decode:true\">    &lt;nav class=\"navbar\"&gt;\r\n        &lt;div class=\"navbar-header\"&gt;\r\n            &lt;button aria-controls=\"navbar\" aria-expanded=\"false\" data-target=\"#navbar\" data-toggle=\"collapse\" class=\"navbar-toggle collapsed\" type=\"button\"&gt;\r\n                    &lt;span class=\"glyphicon glyphicon-th-list\"&gt;&lt;\/span&gt;\r\n            &lt;\/button&gt;\r\n    &lt;\/div&gt;\r\n    &lt;div class=\"collapse\" id=\"navbar\"&gt;                                           \r\n       &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary', 'menu_class' =&gt; 'nav navbar-nav', 'walker' =&gt; new cyberchimps_walker(), 'fallback_cb' =&gt; \t\t\t'cyberchimps_fallback_menu' ) ); ?&gt;\r\n\r\n    &lt;\/div&gt;&lt;!--\/.nav-collapse --&gt; \r\n\r\n&lt;\/nav&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true\">\u00a0 &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary' ) ); ?&gt;<\/pre>\n<h3>Menu Alignment (optional)<\/h3>\n<p>The menu will be aligned to the left after making the change to header.php. To move\u00a0it back to the right hand side, 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\">@include desktop {\r\n    #{$wrap} {\r\n        float: right;\r\n    }\r\n}<\/pre>\n<h3>Full Width Mega Menus (optional)<\/h3>\n<p>To make the mega sub menus span the full width of the site, 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>When Max Mega Menu is enabled you&#8217;ll notice the mobile menu behaves erratically in Edu Pro due to Residual Styling. Fix Mobile Menu Go to Appearance &gt; Editor and select header.php on the right. Find (line 91-102): &lt;nav class=&#8221;navbar&#8221;&gt; &lt;div class=&#8221;navbar-header&#8221;&gt; &lt;button aria-controls=&#8221;navbar&#8221; aria-expanded=&#8221;false&#8221; data-target=&#8221;#navbar&#8221; data-toggle=&#8221;collapse&#8221; class=&#8221;navbar-toggle collapsed&#8221; type=&#8221;button&#8221;&gt; &lt;span&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"template-documentation.php","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-24972","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 you&#8217;ll notice the mobile menu behaves erratically in Edu Pro due to Residual Styling. Fix Mobile Menu Go to Appearance &gt; Editor and select header.php on the right. Find (line 91-102): &lt;nav class=\"navbar\"&gt; &lt;div class=\"navbar-header\"&gt; &lt;button aria-controls=\"navbar\" aria-expanded=\"false\" data-target=\"#navbar\" data-toggle=\"collapse\" class=\"navbar-toggle collapsed\" type=\"button\"&gt; &lt;span...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/24972","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=24972"}],"version-history":[{"count":4,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/24972\/revisions"}],"predecessor-version":[{"id":24976,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/24972\/revisions\/24976"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=24972"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=24972"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=24972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}