{"id":138387,"date":"2018-01-09T14:15:08","date_gmt":"2018-01-09T14:15:08","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/astra-copy\/"},"modified":"2023-05-31T14:53:43","modified_gmt":"2023-05-31T13:53:43","slug":"betheme","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/betheme\/","title":{"rendered":"Betheme"},"content":{"rendered":"<h3>New Instructions (Betheme v27+) &#8211; Using the Header Builder<\/h3>\n<p>Using the header builder is the most reliable way to integrate Max Mega Menu with BeTheme.<\/p>\n<p>First go to <em>Templates &gt; Add New<\/em> and create a new Header template.<\/p>\n<p>You can choose a prebuilt header template or start with a blank slate.<\/p>\n<p>To display Max Mega Menu within the header, first add a &#8220;Text \/ HTML&#8221; block to the layout, then paste in the menu shortcode (<span class=\"lang:default decode:true crayon-inline \"><!-- menu not found [maxmegamenu] --><\/span> *) to display the menu. Make sure the &#8220;Shortcodes parser&#8221; option is enabled.<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-383107\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder.png\" alt=\"\" width=\"365\" height=\"480\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder.png 830w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder-228x300.png 228w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder-778x1024.png 778w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder-768x1010.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2018\/01\/betheme-header-builder-38x50.png 38w\" sizes=\"auto, (max-width: 365px) 100vw, 365px\" \/><\/a><\/p>\n<p>More information on how to use the BeTheme header builder can be found <a href=\"https:\/\/muffingroup.com\/betheme\/header-builder\/\">here<\/a>.<\/p>\n<h3>Old Instructions<\/h3>\n<h3>Fix residual styling issues<\/h3>\n<p>Add the following to your child themes functions.php file (note, the code will not work if it is applied to the parent theme, <strong>it must be applied to the child theme which is supplied by MuffinGroup<\/strong>):<\/p>\n<pre class=\"lang:default decode:true\">if( function_exists( 'max_mega_menu_is_enabled' ) ){\r\n    function mfn_wp_nav_menu(){\r\n        wp_nav_menu( array( 'theme_location' =&gt; 'main-menu' ) );\r\n    }\r\n}<\/pre>\n<h3>Synchronise Mobile Menu with theme<\/h3>\n<p>Go to <em>Mega Menu &gt; Menu Themes &gt; Mobile Menu<\/em> and set the following:<\/p>\n<p>Responsive Breakpoint: <strong>768px<br \/>\n<\/strong>Disable Mobile Toggle Bar: <strong>enabled<\/strong><\/p>\n<h3>Full Width Mega Sub Menus<\/h3>\n<p>To make the mega sub menus span the entire width of the page (rather than just the width of the menu bar), go to <em>Mega Menu &gt; Menu Themes<\/em> and select your active menu theme. Within the Mega Menus tab, set the <strong>Panel Width (Outer)<\/strong> to:<\/p>\n<p><span class=\"lang:default decode:true crayon-inline\">.container .column<\/span><\/p>\n<h3>Sticky Menu Height<\/h3>\n<p>If you are using the BeTheme sticky header option and need to reduce the height of the menu once it becomes sticky, go to <em>Mega Menu &gt; Menu Themes &gt; Custom Styling<\/em> and add the following:<\/p>\n<pre class=\"lang:default decode:true \">.is-sticky #{$wrap} #{$menu} &gt; li.mega-menu-item &gt; a.mega-menu-link {\r\n    height: 61px;\r\n    line-height: 61px;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>New Instructions (Betheme v27+) &#8211; Using the Header Builder Using the header builder is the most reliable way to integrate Max Mega Menu with BeTheme. First go to Templates &gt; Add New and create a new Header template. You can choose a prebuilt header template or start with a blank&#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-138387","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":"New Instructions (Betheme v27+) &#8211; Using the Header Builder Using the header builder is the most reliable way to integrate Max Mega Menu with BeTheme. First go to Templates &gt; Add New and create a new Header template. You can choose a prebuilt header template or start with a blank...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/138387","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=138387"}],"version-history":[{"count":11,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/138387\/revisions"}],"predecessor-version":[{"id":383120,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/138387\/revisions\/383120"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=138387"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=138387"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=138387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}