{"id":105241,"date":"2017-02-14T15:08:02","date_gmt":"2017-02-14T15:08:02","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/ecommerce-mythemeshop-copy\/"},"modified":"2017-03-08T10:26:49","modified_gmt":"2017-03-08T10:26:49","slug":"ecommerce-mythemeshop","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/ecommerce-mythemeshop\/","title":{"rendered":"eCommerce by MyThemeShop"},"content":{"rendered":"<h3>Removing Residual Styling<\/h3>\n<h3>Header Type 1<\/h3>\n<p>Note: The following instructions are specifically for &#8220;Header Type 1&#8221; in the theme options.<\/p>\n<p>Copy the &#8220;header-type\/header-1.php&#8221; file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a>.<\/p>\n<p>Find (line ~137):<\/p>\n<pre class=\"lang:default decode:true\">&lt;div class=\"container clearfix\"&gt;\r\n\t&lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;&lt;?php _e('Menu', MTS_THEME_TEXTDOMAIN ); ?&gt;&lt;\/a&gt;\r\n\r\n\t&lt;nav class=\"navigation clearfix mobile-menu-wrapper\"&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;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true \">&lt;div class=\"container clearfix\"&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;<\/pre>\n<h3>Header Type 6<\/h3>\n<p>Note: The following instructions are specifically for &#8220;Header Type 6&#8221; in the theme options:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-103701\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6.png\" alt=\"\" width=\"2628\" height=\"1638\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6.png 2628w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6-300x187.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6-768x479.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6-1024x638.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/02\/ecommerce_header_type_6-50x31.png 50w\" sizes=\"auto, (max-width: 2628px) 100vw, 2628px\" \/><\/a><\/p>\n<h4>Step 1 &#8211; Remove Residual Styling<\/h4>\n<p>Copy the &#8220;header-type\/header-6.php&#8221; 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\">&lt;nav class=\"navigation clearfix mobile-menu-wrapper\"&gt;\r\n\t&lt;?php if ( has_nav_menu( 'primary-menu' ) ) { ?&gt;\r\n\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&lt;?php } else { ?&gt;\r\n\t\t&lt;ul class=\"menu clearfix\"&gt;\r\n\t\t\t&lt;?php wp_list_pages('title_li='); ?&gt;\r\n\t\t&lt;\/ul&gt;\r\n\t&lt;?php } ?&gt;\r\n&lt;\/nav&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php if ( has_nav_menu( 'primary-menu' ) ) { ?&gt;\r\n\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&lt;?php } else { ?&gt;\r\n\t&lt;ul class=\"menu clearfix\"&gt;\r\n\t\t&lt;?php wp_list_pages('title_li='); ?&gt;\r\n\t&lt;\/ul&gt;\r\n&lt;?php } ?&gt;<\/pre>\n<h4>Step 2 &#8211; Hide Duplicate Mobile Toggle Button<\/h4>\n<p>Go to <em>Appearance &gt; Customize &gt; Additional CSS<\/em> and enter the following:<\/p>\n<pre class=\"lang:default decode:true \">.toggle-mobile-menu {\r\n    display: none !important;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Removing Residual Styling Header Type 1 Note: The following instructions are specifically for &#8220;Header Type 1&#8221; in the theme options. Copy the &#8220;header-type\/header-1.php&#8221; file to your child theme. Find (line ~137): &lt;div class=&#8221;container clearfix&#8221;&gt; &lt;a href=&#8221;#&#8221; id=&#8221;pull&#8221; class=&#8221;toggle-mobile-menu&#8221;&gt;&lt;?php _e(&#8216;Menu&#8217;, MTS_THEME_TEXTDOMAIN ); ?&gt;&lt;\/a&gt; &lt;nav class=&#8221;navigation clearfix mobile-menu-wrapper&#8221;&gt; &lt;?php if ( has_nav_menu(&#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-105241","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":"Removing Residual Styling Header Type 1 Note: The following instructions are specifically for &#8220;Header Type 1&#8221; in the theme options. Copy the &#8220;header-type\/header-1.php&#8221; file to your child theme. Find (line ~137): &lt;div class=\"container clearfix\"&gt; &lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;&lt;?php _e('Menu', MTS_THEME_TEXTDOMAIN ); ?&gt;&lt;\/a&gt; &lt;nav class=\"navigation clearfix mobile-menu-wrapper\"&gt; &lt;?php if ( has_nav_menu(...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/105241","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=105241"}],"version-history":[{"count":7,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/105241\/revisions"}],"predecessor-version":[{"id":107370,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/105241\/revisions\/107370"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=105241"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=105241"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=105241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}