• 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

Move Secondary Nav from Footer Back to After Header in Infinity Pro

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 › General Discussion › Move Secondary Nav from Footer Back to After Header in Infinity Pro

This topic is: resolved

Tagged: Infinity Pro

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago by wtechrbr.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 31, 2018 at 7:01 pm #215938
    wtechrbr
    Member

    Have tried various changes in functions.php to move the secondary nav back up to the top of the page following primary nav to no avail. Any assistance would be greatly appreciated. Already some renaming and repositioning going on within the theme, so it's difficult to discern what needs to be undone and added new. Thanks!

    http://not available yet
    February 1, 2018 at 1:27 pm #216014
    Victor Font
    Moderator

    Remove these two lines in functions.php around line 154:

    // Reposition the secondary navigation menu.
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_footer', 'genesis_do_subnav', 5 );

    Regards,

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

    February 1, 2018 at 2:30 pm #216015
    wtechrbr
    Member

    Thanks Victor for jumping in. I tried that, but the end result was the secondary nav disappeared. I inspected the page to see if it was buried underneath something else, and it might be. Looks like it is executing after the header, but it's nowhere that I can see.

    I will try messing with the css to see if I can force it to become in view.

    February 1, 2018 at 2:50 pm #216018
    wtechrbr
    Member

    I did find it. It's in the exact same position as the primary nav, and it's hidden from view. I have tried adjusting the margins but am finding that even though I'm identifying the secondary nav specifically the margins are affecting the primary nav too, so it continues to be buried. Tricky.

    February 1, 2018 at 3:02 pm #216019
    wtechrbr
    Member

    Found the right css to reveal. Thanks much for your assistance!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Move Secondary Nav from Footer Back to After Header in Infinity Pro’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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