• 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 primary nav bar Pretty Young Theme

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 › center primary nav bar Pretty Young Theme

This topic is: not resolved

Tagged: navigation spacing

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 2 months ago by kateolynch.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 11, 2013 at 8:25 pm #34890
    kateolynch
    Participant

    I'm trying to wrap up work on: http://onetwotiemyshoe.com/

    I'd like to either space the options in the primary navigation across the width or center it.  Everything I've tried does nothing or makes it a list.

     

    Thanks in advance!

     

    Kate

    April 12, 2013 at 3:51 am #34940
    Jeremy
    Participant

    Add this to line 248 of style.css

     

    #nav li a {

    font-weight: bold;

    padding: 7px 28px 7px;

    }

    🙂


    If you want to say thanks Follow me on Twitter | My Website

    April 12, 2013 at 8:06 pm #35132
    bill scheider
    Member

    You can center the menu by going to line 413 of your css:

    #nav ul {

        float: none;
        margin: auto;   <----- ADD THIS
        padding: 5px 0 0 18px;
        width: 65%;   <----- ADD THIS

    }

    This will work; however, I'd add space playing around with padding the way @Jeremy suggested above.

    April 12, 2013 at 9:19 pm #35163
    kateolynch
    Participant

    Jeremy, that worked.  Thank you!

     

    Bill, thanks for your suggestion   I'm going to if the customer likes it spaced out before trying to center it.

     

    Thanks for taking a couple minutes to help me out!

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

© 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