{"id":243927,"date":"2020-05-15T13:06:59","date_gmt":"2020-05-15T12:06:59","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/charitas-lite-copy\/"},"modified":"2020-05-15T13:09:44","modified_gmt":"2020-05-15T12:09:44","slug":"storevilla","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/storevilla\/","title":{"rendered":"StoreVilla"},"content":{"rendered":"<h3>Fix Residual Theme Styling<\/h3>\n<p>Residual theme styling will affect the mobile menu, making it impossible to open\/close on some screen widths, and inheriting font colours from the theme stylesheet.<\/p>\n<p>To fix these issues, first create and activate a <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\">Child Theme<\/a>.<\/p>\n<p>In the child theme <strong>functions.php<\/strong> file, add the following:<\/p>\n<pre class=\"lang:default decode:true\">function storevilla_primary_navigation() {\r\n\t?&gt;\r\n\t&lt;nav id=\"site-navigation\"&gt;\r\n\t\t&lt;div class=\"store-container clearfix\"&gt;\r\n\t\t\t&lt;?php\r\n\t\t\t\twp_nav_menu(\r\n\t\t\t\t\tarray(\r\n\t\t\t\t\t\t'theme_location' =&gt; 'storevillaprimary'\r\n\t\t\t\t\t)\r\n\t\t\t\t);\r\n\t\t\t?&gt;\r\n\t\t&lt;\/div&gt;\r\n\t&lt;\/nav&gt;&lt;!-- #site-navigation --&gt;\r\n\t&lt;?php\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix Residual Theme Styling Residual theme styling will affect the mobile menu, making it impossible to open\/close on some screen widths, and inheriting font colours from the theme stylesheet. To fix these issues, first create and activate a Child Theme. In the child theme functions.php file, add the following: function&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-243927","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 Residual Theme Styling Residual theme styling will affect the mobile menu, making it impossible to open\/close on some screen widths, and inheriting font colours from the theme stylesheet. To fix these issues, first create and activate a Child Theme. In the child theme functions.php file, add the following: function...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/243927","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=243927"}],"version-history":[{"count":2,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/243927\/revisions"}],"predecessor-version":[{"id":243929,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/243927\/revisions\/243929"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=243927"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=243927"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=243927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}