• 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

Lifestyle Pro – move secondary nav outside site-container

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 › Lifestyle Pro – move secondary nav outside site-container

This topic is: not resolved

Tagged: framework, hooks and filters

  • This topic has 3 replies, 2 voices, and was last updated 11 years ago by LeifQ.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 16, 2015 at 4:30 am #141005
    indigobird
    Participant

    I've moved the lifestyle-pro header outside of the site-container in functions.php by using

    /** Reposition header outside site-container */
    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ) ;
    add_action( 'genesis_before', 'genesis_header_markup_open', 5 );
    add_action( 'genesis_before', 'genesis_do_header' );
    add_action( 'genesis_before', 'genesis_header_markup_close', 15 );

    How do I also move the secondary navigation outside of the the site-container so that can be full width too?

    February 19, 2015 at 2:46 pm #141370
    indigobird
    Participant

    Does anyone have any ideas? Am still struggling with this.

    February 20, 2015 at 11:22 am #141485
    LeifQ
    Participant

    According to Gary Jones' resource, genesis_do_subnav echos the "Secondary Navigation" menu and can be found in lib/structure/menu.php.

    Also take a look at http://genesistutorials.com/visual-hook-guide/

    Hope this helps.

    February 23, 2015 at 2:47 pm #141422
    LeifQ
    Participant

    (I've been trying to post this but apparently had too many links. oops.)

    According to http://docs.garyjones.co.uk/genesis/2.0.0/package-Genesis.Menus.html
    the genesis_do_subnav function located at lib/structure/menu.php echos the "Secondary Navigation" menu. This website is internally linked really well, so explore those links.

    And you probably already know how to find the classes http://www.genesisframework.com/markup.php and hooks/filters

    Hope this helps.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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

© 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