• 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

Centric Pro create top 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 › General Discussion › Centric Pro create top navigation

This topic is: not resolved

Tagged: centric, css, menu

  • This topic has 5 replies, 3 voices, and was last updated 11 years, 10 months ago by emasai.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 17, 2014 at 5:20 am #95276
    ronnieb
    Member

    I would like to have a top navigation in Centric Pro. Is there HTML code i can include to have a standard top navigation like most of the sites on the net?

    Thanks!

    Ron

    http://www.bv-oprichten.com/
    March 17, 2014 at 1:33 pm #95364
    emasai
    Participant

    Read the instructions for the theme set up - it explains how to set up the navigation
    http://my.studiopress.com/setup/centric-pro-theme/


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    March 18, 2014 at 2:29 am #95417
    ronnieb
    Member

    Hi Emasai,

    I saw the instructions and I am usig the widget for the navigation. The main navigation just looks weird on the homepage so I do not want to use that. I want a top navigation. It looks like that is not available in this theme.

    March 18, 2014 at 9:17 am #95494
    emasai
    Participant

    You can change the position of the main navigation (not the widget) to above the header by putting the following in your functions file:

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


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    March 18, 2014 at 5:54 pm #95578
    Tom
    Participant

    Lynne, using the primary nav and repositioning it would be the most apparent and direct solution, but it doesn't really work on Centric due to the javascript action on the header.

    When the page is scrolled, the javascript invokes a class of .shrink, reducing the height of both the text logo and the header, including the menu in the Header Right widget area. It's kind of a signature of Centric's design.

    And so, for @ronnieb it draws up a larger question: if you use the primary nav instead of the menu in Header Right, what do you want the primary nav to do when the page is scrolled?

    If you use the primary nav, instead of the default Header Right menu position, it disappears when you scroll leaving only the site name and a blank 100% width banner (so, not a sticky menu, but a sticky header/title only). If you reposition the primary nav to be above the header, it still disappears upon scrolling, but now leaves a blank space above the sticky header which must be addressed with CSS and/or javascript.

    I think it comes down to this: If you want the menu to disappear, do it with CSS - some sort of 'display none' on .shrink, If you want the menu to stay/stick it's already designed into the theme. if you want the whole header to disappear, you have a different design question than what to do with the menu.

    (Pesonally, I like what @ronnieb has done with the theme for his project - I'd leave well enough alone - but that's just one opinion.)


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    March 19, 2014 at 11:48 am #95717
    emasai
    Participant

    Thanks for that Tom, I have not yet used Centric Pro, so I didn't realize changing the nav would have that impact.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

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