{"id":2563,"date":"2015-06-18T11:18:42","date_gmt":"2015-06-18T10:18:42","guid":{"rendered":"https:\/\/www.megamenu.com\/?page_id=2563"},"modified":"2019-06-24T10:23:33","modified_gmt":"2019-06-24T09:23:33","slug":"storefront","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/storefront\/","title":{"rendered":"Storefront"},"content":{"rendered":"<p>To integrate Max Mega Menu with the WooCommerce StoreFront theme go to <em>Plugins &gt; Add New<\/em> and search for <a href=\"https:\/\/wordpress.org\/plugins\/megamenu-storefront\/\"><strong>Max Mega Menu &#8211; StoreFront Integration<\/strong><\/a>.<\/p>\n<p>The StoreFront integration plugin will fix the square icons seen before each menu item, and add a new &#8220;StoreFront&#8221; menu theme which is pre-styled to replicate the StoreFront theme styling.<\/p>\n<h3>The mobile\/handheld menu<\/h3>\n<p>On mobile the StoreFront menu will also be removed and replaced with the Max Mega Menu mobile menu.<\/p>\n<p>You will always see the the Primary Menu (the Mobile Menu location will be ignored as it is not compatible with MMM).\u00a0If you want to, for example, not show a menu item in the mobile menu (but still display it in the desktop menu), you can use the \u201cHide on mobile\u201d option for that menu item. Likewise, if you want to show a menu item in the mobile menu (but not on desktop), you can use the \u201cHide on desktop\u201d option. Using these options you can essentially have one set of items that display only on mobile, and another set that only display on desktop (and some that display on both).<\/p>\n<h3>The sticky menu<\/h3>\n<p>If you upgrade to Pro in order to access the sticky menu functionality, please note that only the menu itself will be stuck. The mini cart, to the right of the menu, is part of the theme (not the menu) and therefore will not be stuck.<\/p>\n<h3>Change menu row background color<\/h3>\n<p><em><strong>Note to StoreFront Powerpack users<\/strong>: If you are using the Header Customizer functionality in StoreFront PowerPack the following CSS will not work. The menu does not sit in it&#8217;s own row, therefore it&#8217;s impossible to change the background of the menu &#8220;row&#8221; without changing the background color for the whole header. You will need to set the background of the menu to transparent or the same color as your theme header so that the menu blends into the header.<\/em><\/p>\n<p><strong>Standard StoreFront users:<\/strong><\/p>\n<p>The StoreFront menu does not span the full width of the page. The background color of the menu will only apply to the menu itself &#8211; not the full width of the row that the menu is displayed within.<\/p>\n<p>To apply the same menu\u00a0background color to the row that holds the menu, go to <em>Mega Menu &gt; Menu Themes<\/em> and insert the following into the Custom Styling area:<\/p>\n<pre class=\"lang:default decode:true \">@media (min-width: 768px) {\r\n    header .storefront-primary-navigation {\r\n        @include background($container_background_from, $container_background_to);\r\n    }\r\n}<\/pre>\n<h3>PootlePress StoreFront Pro<\/h3>\n<p>If you are using StoreFront Pro by PootlePress, you should enable the &#8220;Remove search icon from nav&#8221; option under <em>Appearance &gt; Customize &gt; Header and Navigation &gt; Primary Navigation<\/em>.<\/p>\n<h3>Making the menu full width<\/h3>\n<p>By default the menu will be 73% wide (to allow a space on the right hand side of the menu for the cart element). If you have removed the cart element either manually or by using a plugin, you can use the following CSS to make the menu 100% wide:<\/p>\n<pre class=\"lang:default decode:true\">#mega-menu-wrap-primary {\r\n    width: 100% !important;\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To integrate Max Mega Menu with the WooCommerce StoreFront theme go to Plugins &gt; Add New and search for Max Mega Menu &#8211; StoreFront Integration. The StoreFront integration plugin will fix the square icons seen before each menu item, and add a new &#8220;StoreFront&#8221; menu theme which is pre-styled to&#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-2563","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":"To integrate Max Mega Menu with the WooCommerce StoreFront theme go to Plugins &gt; Add New and search for Max Mega Menu &#8211; StoreFront Integration. The StoreFront integration plugin will fix the square icons seen before each menu item, and add a new &#8220;StoreFront&#8221; menu theme which is pre-styled to...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/2563","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=2563"}],"version-history":[{"count":11,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/2563\/revisions"}],"predecessor-version":[{"id":204163,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/2563\/revisions\/204163"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=2563"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=2563"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=2563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}