• 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 Align Primary Menu – Agency 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 › Design Tips and Tricks › Center Align Primary Menu – Agency Theme

This topic is: not resolved

Tagged: Agency, Center Align, css, primary menu

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 7 months ago by NewSeasonDesign.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 13, 2013 at 11:15 am #20093
    heartlandhosting
    Member

    I want to center the primary menu on the Agency child theme (currently left justified). How can I change the css to accomplish this? Our website is not published yet, currently in Maintenance Mode. If you need to access I can provide a login.
    URL: http://www.PapeleriaDesign.com


    Scott McLaughlin
    Owner, Heartland Hosting, LLC

    February 13, 2013 at 12:57 pm #20114
    NewSeasonDesign
    Member

    Are you talking about the individual menu items? If so, you should be able to do this:

    #nav li a {text-align:center;}

    March 5, 2013 at 3:20 pm #24406
    heartlandhosting
    Member

    I've tried to add this in the style.css.  But it has not worked.  I'm not sure that as a bulleted list, I can do what I'm wanting.   Let me try again to explain.  Currently the menu buttons appear on the left side below the header (as below):
    ------------------------------------ HEADER ------------------------------------
    Home  About  FAQ  .....  Contact  Blog

    I want the items to be centered below the header (as below):
    ------------------------------------ HEADER ------------------------------------
    Home  About  FAQ  .....  Contact  Blog
    Anyone with any ideas?
    style.css (http://papeleriadesign.com/wp-content/themes/agency/style.css)


    Scott McLaughlin
    Owner, Heartland Hosting, LLC

    March 6, 2013 at 11:40 am #24567
    NewSeasonDesign
    Member

    With it being in maintenance mode, I can't use Firebug to check on it. Sorry!

    March 6, 2013 at 3:03 pm #24618
    heartlandhosting
    Member

    OK, so now if you would be so kind to check again, it is not in Maintenance Mode.


    Scott McLaughlin
    Owner, Heartland Hosting, LLC

    March 6, 2013 at 8:59 pm #24714
    NewSeasonDesign
    Member

    You could do this:

    .menu-primary, .menu-secondary, #header .menu {margin: 0 auto; max-width: 717px;}

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

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