{"id":103697,"date":"2017-02-01T15:16:15","date_gmt":"2017-02-01T15:16:15","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/entrance-copy\/"},"modified":"2017-02-16T09:56:33","modified_gmt":"2017-02-16T09:56:33","slug":"magazine-mythemeshop","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/magazine-mythemeshop\/","title":{"rendered":"Magazine by MyThemeShop"},"content":{"rendered":"<h3>Remove Residual Styling (and use the Max Mega Menu Mobile Menu)<\/h3>\n<p>Copy the header.php file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme<\/a>.<\/p>\n<p>Find (~line 67):<\/p>\n<pre class=\"lang:default decode:true \">&lt;div id=\"sticky\" class=\"primary-navigation\" role=\"navigation\" itemscope itemtype=\"http:\/\/schema.org\/SiteNavigationElement\"&gt;\r\n  &lt;div class=\"container\"&gt;\r\n    &lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;Menu&lt;\/a&gt;\r\n    &lt;nav id=\"navigation\" class=\"clearfix&lt;?php if ( $mts_options['mts_show_primary_nav'] == '1' ) echo ' mobile-menu-wrapper'; ?&gt;\"&gt;\r\n\t\t&lt;?php if ( has_nav_menu( 'primary-menu' ) ) { ?&gt;\r\n\t\t\t&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary-menu', 'menu_class' =&gt; 'menu clearfix', 'container' =&gt; '', 'walker' =&gt; new mts_menu_walker ) ); ?&gt;\r\n\t\t&lt;?php } else { ?&gt;\r\n\t\t\t&lt;ul class=\"menu clearfix\"&gt;\r\n\t\t\t\t&lt;?php wp_list_pages('title_li='); ?&gt;\r\n\t\t\t&lt;\/ul&gt;\r\n\t\t&lt;?php } ?&gt;\r\n\t&lt;\/nav&gt;\r\n   &lt;\/div&gt; \r\n&lt;\/div&gt;\r\n&lt;div id=\"catcher\"&gt;&lt;\/div&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true \">&lt;div role=\"navigation\" class=\"mega-primary-navigation\" itemscope itemtype=\"http:\/\/schema.org\/SiteNavigationElement\"&gt;\r\n  &lt;div class=\"container\"&gt;\r\n\t\t&lt;?php if ( has_nav_menu( 'primary-menu' ) ) { ?&gt;\r\n\t\t\t&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary-menu', 'menu_class' =&gt; 'menu clearfix', 'container' =&gt; '', 'walker' =&gt; new mts_menu_walker ) ); ?&gt;\r\n\t\t&lt;?php } else { ?&gt;\r\n\t\t\t&lt;ul class=\"menu clearfix\"&gt;\r\n\t\t\t\t&lt;?php wp_list_pages('title_li='); ?&gt;\r\n\t\t\t&lt;\/ul&gt;\r\n\t\t&lt;?php } ?&gt;\r\n   &lt;\/div&gt; \r\n&lt;\/div&gt;\r\n&lt;div id=\"catcher\"&gt;&lt;\/div&gt;<\/pre>\n<h3>Full width background color for menu bar<\/h3>\n<p>To restore the full width background color for the menu bar, go to <em>Appearance &gt; Customize &gt; Additional CSS<\/em> and paste in the following:<\/p>\n<pre class=\"lang:default decode:true \">.mega-primary-navigation {\r\n    background: black;\r\n}<\/pre>\n<h3>Sticky Menu<\/h3>\n<p>The edits to the header.php file above will disable the theme sticky header.<\/p>\n<p>Go to <em>Appearance &gt; Menus<\/em> and enable the <a href=\"https:\/\/www.megamenu.com\/documentation\/sticky-menu\/\">Sticky<\/a> option in the Max Mega Menu settings to make your menu sticky again.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remove Residual Styling (and use the Max Mega Menu Mobile Menu) Copy the header.php file to your Child Theme. Find (~line 67): &lt;div id=&#8221;sticky&#8221; class=&#8221;primary-navigation&#8221; role=&#8221;navigation&#8221; itemscope itemtype=&#8221;http:\/\/schema.org\/SiteNavigationElement&#8221;&gt; &lt;div class=&#8221;container&#8221;&gt; &lt;a href=&#8221;#&#8221; id=&#8221;pull&#8221; class=&#8221;toggle-mobile-menu&#8221;&gt;Menu&lt;\/a&gt; &lt;nav id=&#8221;navigation&#8221; class=&#8221;clearfix&lt;?php if ( $mts_options[&#8216;mts_show_primary_nav&#8217;] == &#8216;1&#8217; ) echo &#8216; mobile-menu-wrapper&#8217;; ?&gt;&#8221;&gt; &lt;?php if (&#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-103697","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 (and use the Max Mega Menu Mobile Menu) Copy the header.php file to your Child Theme. Find (~line 67): &lt;div id=\"sticky\" class=\"primary-navigation\" role=\"navigation\" itemscope itemtype=\"http:\/\/schema.org\/SiteNavigationElement\"&gt; &lt;div class=\"container\"&gt; &lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;Menu&lt;\/a&gt; &lt;nav id=\"navigation\" class=\"clearfix&lt;?php if ( $mts_options['mts_show_primary_nav'] == '1' ) echo ' mobile-menu-wrapper'; ?&gt;\"&gt; &lt;?php if (...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/103697","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=103697"}],"version-history":[{"count":11,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/103697\/revisions"}],"predecessor-version":[{"id":105452,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/103697\/revisions\/105452"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=103697"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=103697"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=103697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}