• 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

Changing the Aspire Pro menu structure

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 › Changing the Aspire Pro menu structure

This topic is: not resolved

Tagged: giving aspire pro traditional primary and secondary menus

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 10 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 10, 2016 at 6:10 pm #185372
    webcami
    Participant

    Hello,

    I'm trying to change how the menu works in Aspire Pro. I have successfully returned the right header widget area, but I can seem to get the PRIMARY or SECONDARY menus to appear BELOW the header and be full width like OUTREACH PRO's example.

    I've removed all of this from functions.php.

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

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

    //* Unregister the header right widget area
    unregister_sidebar( 'header-right' );

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

    //* Remove output of primary navigation right extras
    remove_filter( 'genesis_nav_items', 'genesis_nav_right', 10, 2 );
    remove_filter( 'wp_nav_menu_items', 'genesis_nav_right', 10, 2 );

    From style.css, I commented out:

    /* .secondary-nav .site-inner { */
    /* margin-top: 250px; */
    /*} */

    THEN, I tried with without commenting the above out out. No change.

    /* ## Secondary Navigation
    --------------------------------------------- */

    /*.nav-secondary { */
    /* border-bottom: 0px solid #444; */
    /* background-color: #f7f7f7; */

    /*} */

    I've added this:

    /* Secondary Navigation
    --------------------------------------------- */

    .nav-secondary .wrap {
    background-color: #111;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-bottom: 16px;
    }

    .nav-secondary .genesis-nav-menu > li > a:hover,
    .nav-secondary .genesis-nav-menu > li:hover > a {
    background: none;
    }

    .nav-secondary .genesis-nav-menu .current-menu-item > a,
    .nav-secondary .genesis-nav-menu .sub-menu a:hover,
    .nav-secondary .genesis-nav-menu a:hover,
    .nav-secondary .genesis-nav-menu li:hover > a {
    color: #6ab446;
    }

    .nav-secondary .genesis-nav-menu .sub-menu a {
    background-color: #090909;
    border-color: #292929;
    color: #fff;
    }

    .nav-secondary .sub-menu {
    border-color: #292929;
    }

    +++++++++++++++++++++

    Any help is greatly appreciated (this is a mock up location hidden from search)

    http://westseattlewordpress.com/kollmar/
    May 11, 2016 at 6:34 am #185396
    Victor Font
    Moderator

    The secondary nav menu is actually there. It's under the header. Your header is position:fixed with a z-index of 999 which means it sits on top of all the other content. You have to play with the menu positioning and z-index to bring it to the top.


    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

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