• 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

Modern Portfolio 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 › Modern Portfolio Primary Navigation

This topic is: not resolved

Tagged: menu, modern portfolio, navigation

  • This topic has 8 replies, 3 voices, and was last updated 12 years, 5 months ago by yolohtzin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • March 22, 2013 at 10:09 pm #30628
    rusticrick
    Member

    Hi,

    I would like to set the primary and secondary navigation menus to appear on all pages, including the homepage.

    Can somebody help me out with the code to do this please?

    Thanks

    March 23, 2013 at 6:25 am #30644
    AnitaC
    Keymaster

    The settings for Primary and Secondary are controlled under Genesis > Genesis Settings. You just need to activate them. Then create your menus under Appearance > Menus and set those up.


    Need help with customization or troubleshooting? Reach out to me.

    March 23, 2013 at 6:29 am #30645
    rusticrick
    Member

    I now have the primary menu showing on all pages, but it aligns vertically rather than horizontally. I am using genesis-nav-menu as the CSS class, the same as the custom header menu. Is this correct?

    My site is http://blackmirrors.co.uk/

    March 23, 2013 at 6:42 am #30648
    rusticrick
    Member

    anitac,

    thanks for your response. That is the way that I have set the primary menu up but it still aligns vertically.

    Do you know how they are set up in the demo? The notes say that locations for primary and secondary menus are not specified for the demo, but the primary menu shows on the blog page?

    March 23, 2013 at 6:55 am #30651
    AnitaC
    Keymaster

    Maybe that theme doesn't have that particular navigation built in. But here are the set up instructions - http://my.studiopress.com/setup/modern-portfolio-theme/. But if you want to import the demo content, you will need to Import the XML file that came with your theme.


    Need help with customization or troubleshooting? Reach out to me.

    March 23, 2013 at 6:59 am #30652
    rusticrick
    Member

    Thanks,

    I have been through the setup instructions and imported the demo content. The theme does have support for primary navigation, I have it activated but it doesn't align correctly is all.

    The setup instruction say:

    The primary and Secondary navigation theme locations areas are not used in the demo.

    However, if you navigate to this page of the demo you can see the primary nav menu

    http://demo.studiopress.com/modern-portfolio/portfolio-4/

     

    March 23, 2013 at 7:13 am #30656
    AnitaC
    Keymaster

    Andrea answered this here - http://www.studiopress.community/topic/modern-portfolio-menu/.


    Need help with customization or troubleshooting? Reach out to me.

    March 23, 2013 at 8:26 am #30664
    AnitaC
    Keymaster

    Open up Home.php and look for this:

    		// Remove the navigation menus
    		remove_action( 'genesis_after_header', 'genesis_do_nav' );
    		remove_action( 'genesis_after_header', 'genesis_do_subnav' );

    On the first line - change "remove" to add" which will add the Primary Navigation. If you want the secondary - change the second like from "remove" to add.

    You can then style them as you like.


    Need help with customization or troubleshooting? Reach out to me.

    January 8, 2014 at 7:28 pm #84099
    yolohtzin
    Member

    Hi - I used this coding and it worked - however, now I want to figure out how to make the header and navigation menu full-width.

    Thanks in advance!

    Heather Hess
    http://mariposamemoirs.com

  • 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

© 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