{"id":145321,"date":"2018-02-27T16:21:50","date_gmt":"2018-02-27T16:21:50","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/onlinemag-copy\/"},"modified":"2018-02-27T16:48:05","modified_gmt":"2018-02-27T16:48:05","slug":"vacation-lite-pro","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/vacation-lite-pro\/","title":{"rendered":"Vacation Lite \/ Pro"},"content":{"rendered":"<h3>Fix Mobile Menu<\/h3>\n<p>Max Mega Menu will inherit CSS from the theme, which stops the mobile menu from functioning correctly.<\/p>\n<p>To stop this from happening, and to reveal the default Max Mega Menu mobile menu, copy the themes <strong>header.php<\/strong> to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme<\/a>.<\/p>\n<p><strong>Take a backup of the header.php file and c<\/strong><strong>heck (and double check) your changes before saving!<\/strong><\/p>\n<p>Find:<\/p>\n<pre class=\"lang:default decode:true \">     &lt;div class=\"toggle\"&gt;\r\n    &lt;a class=\"toggleMenu\" href=\"#\"&gt;&lt;?php _e('Menu','vacation-lite'); ?&gt;&lt;\/a&gt;\r\n    &lt;\/div&gt;                           \r\n    &lt;div class=\"nav\"&gt;\r\n\t\t&lt;?php wp_nav_menu( array('theme_location'  =&gt; 'primary') ); ?&gt;\r\n    &lt;\/div&gt;&lt;!-- nav --&gt;&lt;div class=\"clear\"&gt;&lt;\/div&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true \">    &lt;div class=\"nav-mmm\"&gt;\r\n\t\t&lt;?php wp_nav_menu( array('theme_location'  =&gt; 'primary') ); ?&gt;\r\n    &lt;\/div&gt;&lt;!-- nav --&gt;&lt;div class=\"clear\"&gt;&lt;\/div&gt;<\/pre>\n<p>Next, go to <em>Appearance &gt; Customize &gt; Addtional CSS<\/em> and add the following:<\/p>\n<pre class=\"lang:default decode:true\">.nav-mmm {\r\n    float: right;\r\n}\r\n@media screen and (max-width:999px) { \r\n    .nav-mmm {\r\n    \tfloat: none;\r\n    }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix Mobile Menu Max Mega Menu will inherit CSS from the theme, which stops the mobile menu from functioning correctly. To stop this from happening, and to reveal the default Max Mega Menu mobile menu, copy the themes header.php to your Child Theme. Take a backup of the header.php file&#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-145321","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 Max Mega Menu will inherit CSS from the theme, which stops the mobile menu from functioning correctly. To stop this from happening, and to reveal the default Max Mega Menu mobile menu, copy the themes header.php to your Child Theme. Take a backup of the header.php file...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/145321","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=145321"}],"version-history":[{"count":7,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/145321\/revisions"}],"predecessor-version":[{"id":145335,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/145321\/revisions\/145335"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=145321"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=145321"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=145321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}