• 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

Reposition Primary Navigation?

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 › Archived Forums › Design Tips and Tricks › Reposition Primary Navigation?

This topic is: not resolved

Tagged: hooks

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 7 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 11, 2018 at 2:42 pm #224969
    Toon61
    Member

    Hi all,

    Been away for some time.
    Things have changed, I think...
    Repositioning the primary menu was as simple as adding this basic php-snippet to your functions.php or functionality plugin:

    remove_action( 'genesis_header_right', 'genesis_do_nav' );
    add_action( 'genesis_before_header', 'genesis_do_nav' );

    But this duplicates (!) the menu. It stays in the header and it also appears after the header, so I'm stuck with two menu's.
    Okay, a 'display: none;' for the header menu will do the trick, but this is not a desirable way to solve this problem.

    Is there another hook to use in 2018? Am I missing something?
    I'm using the the default child theme.

    December 11, 2018 at 4:22 pm #224974
    Victor Font
    Moderator

    It depends upon where the developer of your theme positioned the menu in the first place. The default is genesis_after_header. Look through functions.php to see if the menu was repositioned by the developer.

    By the way, the menu in header right is usually handled through a widget.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

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