{"id":696,"date":"2017-06-01T11:37:12","date_gmt":"2017-06-01T11:37:12","guid":{"rendered":"http:\/\/genesiswp.net\/?p=79"},"modified":"2019-08-17T05:16:12","modified_gmt":"2019-08-17T05:16:12","slug":"relocate-responsive-menu-genesis-sample","status":"publish","type":"post","link":"https:\/\/leaguewp.com\/relocate-responsive-menu-genesis-sample\/","title":{"rendered":"How to Relocate Responsive Menu in Genesis Sample"},"content":{"rendered":"
Note<\/strong>: After the release of Genesis 3.0.0<\/a>, Genesis Sample Theme comes with the inline responsive menu baked in. However, if you are using an older version of the Genesis Sample Theme, the following tutorial may help you. Alternatively, follow this guide<\/a>, if you want to remove the “MENU” label<\/a> from the menu in the Genesis Sample Theme.<\/div>\n

If you’re a Genesis Framework user, you may have noticed that the responsive menu in the Genesis Sample theme<\/a> resides below the header. But, what if you want to relocate it to the inside header so it’s aligned to the right of your site header while the site title is aligned left?<\/p>\n

\"\"
Responsive Menu Below Header in Genesis Sample.<\/figcaption><\/figure>\n

Sridhar Katkam’s Genesis Starter Child Theme<\/a> which was released in 2016, has added some cool new features. In fact, these days, I use his version of Genesis Sample theme rather than the original Genesis Sample theme available on StudioPress. If you’re not aware of the modified theme, you should check it out here<\/a>.<\/p>\n

One of the major structural changes in Sridhar’s starter theme is that it uses WordPress’s default blog template rather than the blog template offered in Genesis Sample. If you’re wondering why, then you should probably read Bill’s blog post<\/a>.<\/p>\n

What I really like about theme is the Inline Mobile Responsive Hamburger menu. Therefore, I’d highly recommend using Sridhar’s Genesis Starter Child theme for your custom project if you want to do it right.<\/p>\n

First, remove or comment out the Following Line from Your Functions.php. It should be found on Line 117<\/p>\n

add_theme_support( ‘genesis-menus’, array( ‘primary’ => __( ‘After Header Menu’, ‘genesis-sample’ ), ‘secondary’ => __( ‘Footer Menu’, ‘genesis-sample’ ) ) );<\/strong><\/p>\n

Then, add the following code snippet in your functions.php.<\/p>\n