{"id":137593,"date":"2018-01-02T15:15:36","date_gmt":"2018-01-02T15:15:36","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/salient-copy\/"},"modified":"2023-09-11T10:43:12","modified_gmt":"2023-09-11T09:43:12","slug":"astra","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/astra\/","title":{"rendered":"Astra"},"content":{"rendered":"<h3>Fixing the mobile menu when using the Header Builder<\/h3>\n<p>First, open the Customiser and navigate to the Header Builder. Switch to the mobile view and remove the Toggle Button block:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-292631\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1.png\" alt=\"\" width=\"2672\" height=\"1880\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1.png 2672w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-300x211.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-1024x720.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-768x540.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-50x35.png 50w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-1536x1081.png 1536w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-1-2048x1441.png 2048w\" sizes=\"auto, (max-width: 2672px) 100vw, 2672px\" \/><\/a><\/p>\n<p>Next, add the &#8220;Widget 1&#8221; block to the layout:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-292632\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2.png\" alt=\"\" width=\"2672\" height=\"1880\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2.png 2672w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-300x211.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-1024x720.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-768x540.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-50x35.png 50w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-1536x1081.png 1536w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-2-2048x1441.png 2048w\" sizes=\"auto, (max-width: 2672px) 100vw, 2672px\" \/><\/a><\/p>\n<p>Add the &#8220;Max Mega Menu&#8221; widget to the widget area:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-292633\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3.png\" alt=\"\" width=\"2672\" height=\"1880\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3.png 2672w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-300x211.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-1024x720.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-768x540.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-50x35.png 50w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-1536x1081.png 1536w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-3-2048x1441.png 2048w\" sizes=\"auto, (max-width: 2672px) 100vw, 2672px\" \/><\/a><\/p>\n<p>Choose the menu location to display for your mobile menu in the widget settings:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-292634\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4.png\" alt=\"\" width=\"2672\" height=\"1880\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4.png 2672w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-300x211.png 300w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-1024x720.png 1024w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-768x540.png 768w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-50x35.png 50w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-1536x1081.png 1536w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2021\/04\/astra-header-builder-4-2048x1441.png 2048w\" sizes=\"auto, (max-width: 2672px) 100vw, 2672px\" \/><\/a><\/p>\n<h3>Restore Menu Alignment<\/h3>\n<p>By default the Astra menu is positioned to the right hand side of the page, and the menu item links are aligned to the right also.<\/p>\n<p>When Max Mega Menu is enabled the menu will be positioned next to the logo. To make the menu fill the header area, go to <em>Appearance &gt; Customize &gt; Additional CSS<\/em>\u00a0and add the following:<\/p>\n<pre class=\"lang:default decode:true \">body.mega-menu-primary .header-main-layout-1 .ast-main-header-bar-alignment {\r\n    flex-grow: 1;\r\n}<\/pre>\n<p>If you want the menu item links to be aligned to the right hand side of the menu bar, go to <em>Mega Menu &gt; Menu Themes &gt; Menu Bar<\/em> and set Menu Items Align to &#8220;Right&#8221;.<\/p>\n<h3>Hide Duplicate Mobile Menu button<\/h3>\n<p>When Max Mega Menu is enabled for the Primary Menu location you will see 2 mobile toggle buttons.<\/p>\n<p>To remove the theme mobile toggle button, leaving you with just the Max Mega Menu toggle bar, go to <em>Appearance &gt; Customize &gt; Additional CSS<\/em> and enter the following:<\/p>\n<pre class=\"lang:default decode:true\">.mega-menu-primary .main-header-bar-navigation {\r\n    display: block !important;\r\n}\r\n\r\n.mega-menu-primary .ast-mobile-menu-buttons {\r\n    display: none !important;\r\n}<\/pre>\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:<\/p>\n<p><strong>Panel Width (Outer)<\/strong>: <span class=\"lang:default decode:true crayon-inline\">body<\/span><\/p>\n<p><strong>Panel Width (Inner)<\/strong>: <span class=\"lang:default decode:true crayon-inline\">.ast-container<\/span><\/p>\n<h3>&#8220;Ghost&#8221; Menu<\/h3>\n<p>If you are seeing a &#8220;ghost&#8221;\/duplicated menu in the header, go to <em>Mega Menu &gt; Menu Themes &gt; Custom Styling<\/em> and add the following:<\/p>\n<pre class=\"lang:default decode:true\">#{$wrap} #{$menu} {\r\n    visibility: inherit;\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fixing the mobile menu when using the Header Builder First, open the Customiser and navigate to the Header Builder. Switch to the mobile view and remove the Toggle Button block: Next, add the &#8220;Widget 1&#8221; block to the layout: Add the &#8220;Max Mega Menu&#8221; widget to the widget area: Choose&#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-137593","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":"Fixing the mobile menu when using the Header Builder First, open the Customiser and navigate to the Header Builder. Switch to the mobile view and remove the Toggle Button block: Next, add the &#8220;Widget 1&#8221; block to the layout: Add the &#8220;Max Mega Menu&#8221; widget to the widget area: Choose...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/137593","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=137593"}],"version-history":[{"count":14,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/137593\/revisions"}],"predecessor-version":[{"id":393632,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/137593\/revisions\/393632"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=137593"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=137593"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=137593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}