{"id":165093,"date":"2018-08-08T14:40:41","date_gmt":"2018-08-08T13:40:41","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/revive-copy\/"},"modified":"2018-08-08T14:48:19","modified_gmt":"2018-08-08T13:48:19","slug":"travel-log","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/travel-log\/","title":{"rendered":"Travel Log"},"content":{"rendered":"<h3>Remove Residual Styling<\/h3>\n<p>Residual theme styling will cause elements in sub menus to appear and disappear.<\/p>\n<p>To fix this first create a <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme<\/a>\u00a0and activate it.<\/p>\n<p>In the Child Theme <strong>functions.php<\/strong> file, add the following:<\/p>\n<pre class=\"lang:default decode:true\">function travel_log_main_menu() {\r\n\t?&gt;\r\n\t&lt;nav id=\"site-navigation\" class=\"\" role=\"navigation\"&gt;\r\n\t&lt;div class=\"wrap-menu-content\"&gt;\r\n\t\t&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary-menu' ) ); ?&gt;\r\n\t&lt;\/div&gt;\r\n\t&lt;\/nav&gt;\r\n\t&lt;?php\r\n}<\/pre>\n<p><em>Important: This change involves editing a PHP file which can be dangerous. Test your changes locally or on a staging site before making any changes on a live site.<\/em><\/p>\n<h3>Fix Mobile Menu<\/h3>\n<p>Go to <em>Appearance &gt; Customize &gt; Additional CSS<\/em> and enter the following:<\/p>\n<pre class=\"lang:default decode:true \">@media (max-width: 992px) {\r\n\t.mega-menu-primary-menu #simple-menu {\r\n\t\tdisplay: none;\r\n\t}\r\n\t.mega-menu-primary-menu .site-header #main-nav {\r\n\t\tfloat: none;\r\n\t\tpadding-right: 0;\r\n\t}\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remove Residual Styling Residual theme styling will cause elements in sub menus to appear and disappear. To fix this first create a Child Theme\u00a0and activate it. In the Child Theme functions.php file, add the following: function travel_log_main_menu() { ?&gt; &lt;nav id=&#8221;site-navigation&#8221; class=&#8221;&#8221; role=&#8221;navigation&#8221;&gt; &lt;div class=&#8221;wrap-menu-content&#8221;&gt; &lt;?php wp_nav_menu( array( &#8216;theme_location&#8217; =&gt;&#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-165093","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":"Remove Residual Styling Residual theme styling will cause elements in sub menus to appear and disappear. To fix this first create a Child Theme\u00a0and activate it. In the Child Theme functions.php file, add the following: function travel_log_main_menu() { ?&gt; &lt;nav id=\"site-navigation\" class=\"\" role=\"navigation\"&gt; &lt;div class=\"wrap-menu-content\"&gt; &lt;?php wp_nav_menu( array( 'theme_location' =&gt;...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/165093","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=165093"}],"version-history":[{"count":4,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/165093\/revisions"}],"predecessor-version":[{"id":165097,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/165093\/revisions\/165097"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=165093"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=165093"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=165093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}