• 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 Menu Bars in Minimum

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 Menu Bars in Minimum

This topic is: resolved

Tagged: minimum, NAV bar

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 2 months ago by Tony @ AlphaBlossom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 20, 2013 at 1:20 pm #21743
    Brittany
    Member

    I've been trying most of the morning with no luck, to try and get my menus centered under my header. I have tried a few different things I found in the old forums but I can't get anything to work.

    Any thoughts for me on what needs to be changed in the css to make it work?

    Thanks in advance!

    http://www.livelaughstudios.com/blog

    February 20, 2013 at 1:52 pm #21766
    Tony @ AlphaBlossom
    Member

    Hello,

    For the top menu, in your child theme style.css, change your #header .widget-area to "float:none;" and add "margin: 0 auto;"

    Then change #header .menu to "float: none;"

    For the lower menu, add "text-align: center;" to .menu-primary, .menu-secondary, #header .menu (around line 304).

    Then for .menu-primary li, .menu-secondary li, #header .menu li change to "float: left;" and add "display: inline-block;" (around line 327).


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    February 20, 2013 at 2:40 pm #21796
    Brittany
    Member

    Thank you so much for all that help! I think I'm almost there but maybe missing a little something. The top menu worked perfectly while the lower one still appears to be aligned left.

    Do you see something I've missed?

    Thanks again!

    February 20, 2013 at 2:48 pm #21800
    Tony @ AlphaBlossom
    Member

    Hi Brittany,

    It still looks like you have float: left around line 329 (.menu-primary li, .menu-secondary li, #header .menu li). It should be "float: none;"

    Also, your submenus are now centered as well (dropdowns). If you want them to be left-aligned, you can add:


    .sub-menu {
    text-align: left;
    }

    and also add any padding you'd like.

    Hope that helps!


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    February 27, 2013 at 4:07 pm #23192
    Brittany
    Member

    annnnd your help did it, yet again. Thank so much!

    February 27, 2013 at 4:34 pm #23199
    Tony @ AlphaBlossom
    Member

    You're welcome, Brittany! Have a great day.


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Center Menu Bars in Minimum’ 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

© 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