• 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

Center Logo And Primary Menu In Green 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 › Design Tips and Tricks › Center Logo And Primary Menu In Green Pro

This topic is: resolved
  • This topic has 13 replies, 2 voices, and was last updated 11 years, 3 months ago by Mayur Somani.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • March 25, 2014 at 10:11 am #96573
    Liam
    Member

    Hi everyone iv just purchased the Green Pro Theme and i would like to be able to centre the Logo/Header Title
    and also have the menu bar centered under that is this possible at all? Thanks so much for your help.

    Liam

    http://sblservices.co.uk/
    March 25, 2014 at 10:56 am #96579
    Mayur Somani
    Member

    Add this code to the style.css file,

    .header-full-width .title-area {
    text-align: center;
    }

    This will center align title and subtitle.

    Also, I don't see the second menu below it right now...

    March 25, 2014 at 11:03 am #96583
    Liam
    Member

    Thanks so much Mayur that worked for me 🙂 any idea how I add the menu bar just below the header but centered also?

    Thanks alot
    Liam

    March 25, 2014 at 11:05 am #96584
    Mayur Somani
    Member

    I don't see a menu bar below the header. There is one at the top. Do you want to center it? Can you post a screenshot to clarify?

    March 25, 2014 at 11:11 am #96586
    Liam
    Member

    Hi Mayur yes sorry the one above the header i would like to be able to move it so it is below the header and centered is this possible at all?

    Thanks
    Liam

    March 25, 2014 at 11:21 am #96590
    Mayur Somani
    Member

    Try adding this code to functions.php file,

    remove_action( 'genesis_before_header', 'genesis_do_nav' );
    add_action( 'genesis_after_header', 'genesis_do_nav' );
    March 25, 2014 at 11:25 am #96592
    Liam
    Member

    Thanks alot Mayur, just tried that unfortunatly it just makes the menu dissapear then,

    March 25, 2014 at 11:55 am #96597
    Mayur Somani
    Member

    That's ok. Please add it and post back.

    March 25, 2014 at 12:38 pm #96602
    Liam
    Member

    Sorry for delay Mayur I have added the code now

    Thanks
    Liam

    March 25, 2014 at 12:42 pm #96603
    Mayur Somani
    Member

    Now, add this code at the end of style.css file,

    .site-inner {
    margin: 0 auto;
    margin: 0rem auto;
    }
    .site-header {
    padding: 40px 0;
    padding: 4rem 0;
    }

    I wrote a full tutorial for you: How To Move Primary Menu Below Header in Going Green Child Theme For Genesis

    March 25, 2014 at 1:00 pm #96608
    Liam
    Member

    Your a star Mayur 🙂 One last question sorry is there any way to center the menu at all?

    Thanks so much

    Liam

    March 25, 2014 at 1:02 pm #96609
    Mayur Somani
    Member

    Add this code at the end of style.css file,

    .genesis-nav-menu {
    text-align: center;
    }
    March 25, 2014 at 1:15 pm #96624
    Liam
    Member

    That did it thanks so much for the help its much appreciated 🙂

    Liam

    March 25, 2014 at 1:16 pm #96625
    Mayur Somani
    Member

    Glad to help 🙂

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Center Logo And Primary Menu In Green 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

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