• 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

Primary navigation menu below logo – eleven40

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 › Primary navigation menu below logo – eleven40

This topic is: not resolved

Tagged: header, Logo, primary nav

  • This topic has 8 replies, 2 voices, and was last updated 9 years, 6 months ago by Christoph.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • November 19, 2015 at 1:51 pm #171564
    holster
    Member

    Hello,

    Total newbie and having an issue with what seems a simple fix.

    Want the logo above my primary navigation menu like at http://www.studiopress.community/topic/eleven40-pro-need-to-center-logo/.

    I added this into the functions.php file with the hopes of just moving the navigation menu at all, but it didn't work:

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

    Any help would be great!

    http://learningwithblank.com/
    November 20, 2015 at 2:00 pm #171662
    Christoph
    Member

    Hi,

    the code snippet does not work, because the primary navigation has already been repositioned:

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

    You can simply change this add_action in the functions.php (and remove the code snippet you put in)


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    November 20, 2015 at 10:28 pm #171693
    holster
    Member

    So I removed the code snippet. But when I change this add_action nothing happens...???

    How does it need to be modified to get the primary nav after the header?

    I changed the add action to:

    `add_action( 'genesis_after_header', 'genesis_do_nav', 12 );

    Cheers for the reply!

    November 20, 2015 at 10:38 pm #171694
    Christoph
    Member

    Well... if your remove_action and add_action use the same hook, nothing can happen...

    If you want to move the primary navigation to the position of the snippet you posted, you have to use the hook genesis_before_header in the add_action.

    In other words, replace the add_action in the functions file with the add_action from your snippet.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    November 20, 2015 at 10:52 pm #171695
    holster
    Member

    Still not working. Here is the modified code in the functions file:

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

    The primary nav bar is only visible when it's in the header. I can't seem to move it above or below the header, or maybe it's just not visible?

    November 21, 2015 at 11:46 am #171710
    Christoph
    Member

    It´s there. You just have to adjust the css.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    November 23, 2015 at 11:03 am #171837
    holster
    Member

    Any suggestions of where to start with .css adjustments? Thanks for all your help thus far.

    November 23, 2015 at 11:04 am #171838
    holster
    Member

    I've tried all sorts of adjustments but nothing seems to happen

    November 23, 2015 at 11:47 am #171839
    Christoph
    Member

    You have to make the menu "visible" first.

    Try adding a color to
    .nav-primary .genesis-nav-menu > .menu-item > a {

    and/or add a background-color to
    .nav-primary {


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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