• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can i change Genesis menu position

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › General Genesis Framework Discussions › How can i change Genesis menu position

This topic is: not resolved
  • This topic has 20 replies, 14 voices, and was last updated 1 year, 6 months ago by larrymat.
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →
  • Author
    Posts
  • July 6, 2022 at 5:07 am #505517
    chetan
    Participant

    Hello everyone,

    I have used the Genesis default theme

    In my child theme, I want to change the position of the default menu
    so how can I change the menu (<nav>) position?

    I want to move the menu from the top to the header part.

    Please check this link for detail. https://snipboard.io/CevLuD.jpg

    Thanks


    web devloper

    July 6, 2022 at 7:22 am #505518
    Brad Dalton
    Participant

    Try the code snippets for the navigation menu https://my.studiopress.com/documentation/snippets/


    Tutorials for StudioPress Themes.

    July 6, 2022 at 10:56 pm #505531
    chetan
    Participant

    Thanks for reply Brad Dalton


    web devloper

    July 6, 2022 at 11:32 pm #505532
    chetan
    Participant

    Sorry Brad Dalton
    I am not clear about your reference
    can you please provide me one example for this


    web devloper

    July 6, 2022 at 11:39 pm #505533
    Brad Dalton
    Participant

    Try this https://my.studiopress.com/documentation/snippets/navigation-menus/reposition-the-primary-navigation-menu/


    Tutorials for StudioPress Themes.

    July 28, 2022 at 3:42 am #505608
    zenia lazuka
    Participant

    To move your header into a different location, such as before the title, content, or header. Use these codes when you can:<?php
    //* Don't include the opening php tag that shown obove.
    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );

    The next line of code
    Save after that (in code, we changed the primary menu position after header to before header).
    I also face this problem in 5-reasons-why website but after applying followings settings the problem is solved

    September 1, 2022 at 7:13 am #505744
    Michaelmati
    Participant

    Instead of Genesis' header widget, you may want to use a menu. We used the Metro Pro theme from the Genesis framework. In the header, there is already a widget space. An advertisement can be placed in the header if you wish. It would be best to place a menu beneath your website's title or logo if the Genesis theme header widget cannot be removed.

    You can hire a skilled WordPress developer from a top freelance marketplace such as Fiverr or Freelancer if you aren't interested in spending the time or money on these kinds of little things. Doing so will save you a lot of time.
    The problem was also present on APK related website, however, it has now been resolved.

    September 12, 2022 at 3:22 pm #505788
    marshray
    Participant

    To move your header into a different location, such as before the title, content, or header. Use these codes when you can:<?php
    //* Don't include the opening php tag that shown obove.
    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );

    Faced the same problem in the Mini Militia site but used the same strategy and it helped me a lot.

    Try yourself as well.

    It'll help you for sure as well.

    February 27, 2023 at 2:35 am #506839
    Keveinp56
    Participant

    If you're using the Genesis framework on your WordPress website, changing the position of the menu can be a useful customization to make your site stand out or improve user experience. The good news is that Genesis makes it relatively straightforward to change the menu position, even if you don't have a lot of coding experience.

    March 15, 2023 at 1:47 am #506963
    Sophia Emme
    Participant

    To change the position of the Genesis menu in WordPress, you can use the genesis_register_nav_menu() function in your theme's functions.php file.

    Here's an example of how to change the position of the Genesis menu to the right-hand side of the header:

    Open the functions.php file in your Genesis child theme.

    Find the code that registers the menu. It should look something like this:

    python
    Copy code
    add_action( 'genesis_after_header', 'genesis_do_nav' );
    Change the hook to genesis_before_header to move the menu to the right-hand side of the header. It should now look like this:

    python
    Copy code
    add_action( 'genesis_before_header', 'genesis_do_nav' );
    Save the changes to functions.php and refresh your site to see the new menu position.

    Note that you may need to Improve organisation efficiency through website then adjust the CSS styling of your theme to ensure the menu displays correctly in the new position.

    March 15, 2023 at 2:00 am #506964
    Sophia Emme
    Participant

    Choose a location that is easy to find and use: Your menu should be prominently displayed and easy to access. Most websites, such as Bonvia, place their menu above or below the header. Consider how your visitors will interact with your site and select a location that makes sense for your content.

    Use a responsive design: Make sure your menu looks good and functions properly on all devices, including desktops, laptops, tablets, and smartphones. A responsive design will adjust the menu position and layout based on the screen size and orientation of the device.

    March 15, 2023 at 2:11 am #506965
    Sophia Emme
    Participant

    You can use CSS styling to customize the position, size, and appearance of your menu, such as Healthy Work Environment. This may involve adjusting the padding, margins, and alignment of the menu items to achieve the desired position.

    Test your menu on different devices and browsers: Before launching your site, make sure to test your menu on a variety of devices and browsers to ensure it looks and functions correctly. Make any necessary adjustments to the menu position and styling based on your testing results.

    March 25, 2023 at 10:37 pm #507061
    fghrt
    Participant

    If you're using the Genesis framework on your WordPress website, changing the position of the menu can be a useful customization to make your site stand out or improve user experience. The good news is that Genesis makes it relatively straightforward to change the menu position, even if you don't have a lot of coding experience. Still if you are facing any issue. Then you can also visit this thesamadlottery site for the idea.

    April 9, 2023 at 2:30 am #507207
    terryalbert
    Participant

    To change the position of the menu in the Genesis Framework, you need to modify the attributes of the menu in your child theme's functions.php file. This can be done by using a filter hook called 'genesis_do_nav'. For instance, if you want to move the menu to appear just after the header section of the website, you can use a code snippet that removes the default 'genesis_do_nav' action from its current position and adds it back to the new location using the 'remove_action' and 'add_action' functions, respectively. To change the position of the menu to a different location, you can modify the hook used in the 'add_action' function to match the desired location. The Genesis Framework documentation provides a list of available hooks you can use to modify the menu's position. Overall, changing the position of the menu in the Genesis Framework involves modifying its attributes using the 'genesis_do_nav' hook.
    For More Information Click here.

    Hegemonic Inc. Mobile Application Development & Digital Marketing Agency

    April 9, 2023 at 3:55 am #507208
    Jelly4567
    Blocked

    The Genesis menu position can be changed by editing the code in the functions.php file. You will need to locate the wp_nav_menu function and modify the parameters to the desired position like as how to smoke rso. Once the changes are made, you can save the file and the menu should be in the desired position. However, if you are not familiar with coding in , it is recommended that you seek the help of a professional to make sure the changes are done correctly.

    October 23, 2023 at 4:54 am #507705
    Maarklarius
    Participant

    Genesis is the default theme I used. I recommend it too

    November 29, 2023 at 7:01 am #507770
    jonathonfowler
    Participant

    Hi, my site menu is already positioned to the right of the top of the page:

    https://loveweddingphotosandfilm.co.uk/

    using this code in functions.php :

    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_header', 'genesis_do_nav', 12 );

    I would like the menu to be centred on the page, so I changed the code to the following, which is suggested earlier in the thred:

    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );

    But now my menu disappears, unless I view the site on mobile, then the hamburger menu appears.

    How do I get the menu to appear in the middle and not disappear?


    Award-winning wedding photographer in Scotland

    November 30, 2023 at 5:10 am #507772
    jonathonfowler
    Participant

    Hi, if I add the code:

    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );

    after this code:

    //* Reposition the primary navigation menu
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_header', 'genesis_do_nav', 12 );

    My menu is centred, however I now have two hamburger menus when viewed on mobile.

    Any help or advice on how to centre the Genesis Sample menu would be hugely appreciated!


    Award-winning wedding photographer in Scotland

    December 5, 2023 at 9:49 am #507784
    aisah653
    Blocked

    The Genesis framework, commonly used with WordPress, provides a flexible and customizable platform for building websites. Changing the menu position in Genesis typically involves using custom hooks and functions in your theme's functions.php file. Here's a step-by-step guide on how you can change the Genesis menu position tech news

    February 1, 2024 at 2:21 am #507833
    aisah653
    Blocked

    Appearance" on the left sidebar and click on "Customize." This will open the Customizer interface.

    Locate the Navigation Menu Settings: Inside the Customizer, look for "Menus" or "Navigation." The exact wording may vary depending on your Genesis child theme.

    Select the Menu You Want to Edit: If you have multiple menus, choose the one you want to reposition to the windshield replacement near me

    Edit Menu Locations: Within the menu settings, you should see an option for "Menu Locations" or "Menu Position." Here, you can select where you want your menu to appear. Genesis typically offers locations such as "Header Menu," "Primary Navigation Menu," "Secondary Navigation Menu," and others. Choose the location that suits your needs.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 21 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble