• 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

Centering Secondary Navigation Menu

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 › Centering Secondary Navigation Menu

This topic is: not resolved

Tagged: center alignment, Secondary Navigation

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 7 months ago by WvanW.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 2, 2014 at 3:57 pm #133448
    kerryl
    Member

    Hi!

    I use the Lifestyle Pro theme. Any tips for centering the secondary navigation menu? Alignment defaults to the left, leaving the rest of the menu bar blank. You can see it here: http://www.kerrylonsdale.com While I have some experience tweaking CSS to customize the child theme, I can't figure where/if it's possible to adjust the secondary navigation menu. Thanks for any suggestions/direction! Much appreciated.

    http://www.kerrylonsdale.com
    December 3, 2014 at 5:48 am #133483
    Genesis Developer
    Member

    go to line 920 of style.css file and replace the current CSS by this

    .genesis-nav-menu {
        clear: both;
        display: table;
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1;
        margin: 0 auto;
        width: auto;
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    December 3, 2014 at 10:33 am #133506
    kerryl
    Member

    It worked! Thanks genwrock.

    December 3, 2014 at 10:37 am #133507
    WvanW
    Member
    .genesis-nav-menu {
        clear: both;
        font-size: 1.4rem;
        line-height: 1;
        text-align: center;
        width: 100%;
    }

    Add:

    text-align: center;

    to the css above.

    I see you already fixed it so nvm

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