• 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

How To Center Top Menu On Infinity 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 › General Discussion › How To Center Top Menu On Infinity Pro

This topic is: resolved

Tagged: center menu, Infinity Pro, menu, top menu

  • This topic has 8 replies, 4 voices, and was last updated 7 years, 1 month ago by tomatillodesign.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 17, 2017 at 8:29 pm #206642
    Tony-BV
    Participant

    Hi, I have two questions regarding the top menu on the Infinity Pro. 1. I am wondering how to center the menu tabs, it seems ever since I added the logo, the tabs are no longer centered. 2. Is there a way to add another TAB in the menu without dropping the menu to a second line and making my menu area large. Here is my website http://www.preloadedwebsites.com. Any tips would be appreciated. Thanks

    May 18, 2017 at 6:34 am #206645
    Victor Font
    Moderator

    You have right click disabled on your site. Without right click, we cannot access our developer tools to view your source code to help you.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 18, 2017 at 7:35 am #206651
    Tony-BV
    Participant

    Hi Victor, I went ahead and disabled the script so you can now right click. Look forward to your respond. Tony

    May 19, 2017 at 9:09 pm #206727
    Tony-BV
    Participant

    Hi Victor @vfontjr just wondering if you had a chance to take a look at my issue? Thanks in advance.

    May 20, 2017 at 6:00 am #206735
    Victor Font
    Moderator

    Change the CSS for .nav-primary at line 1364 in style.css. Here's the new CSS:

    
    .nav-primary {
        text-align: center;
        margin: 0 auto;
        display: inline-block;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 20, 2017 at 9:01 am #206762
    Tony-BV
    Participant

    Thank you very much, that worked. Have a nice weekend Victor.

    September 2, 2017 at 3:18 pm #211058
    Luis Gonzaga
    Member

    Hi, I am having the same problem. I tried the of Victor Font but it did not work. You can check it at http://homeoptimizer.pt/

    If I replace the header title with an image (400px x 130px) the header menu is not longer centered.

    Thank you, Luis

    P.S. By the way, I configured this site as the documented Infinity Pro demo setup, but for some reason I had to had p tags on Custom HTML widget so the break line appear. Shouldn't it be automatic?

    September 2, 2017 at 5:05 pm #211060
    Luis Gonzaga
    Member

    I think I solved the problem.

    On style.css line 1170, replace "width: 200px;" with "width: 20%".

    For some reason (bug?) the width of title-area is defined at 20% but when there is a header-image it is defined at 200px. This messes up with the navbar menu being centered.

    /* Title Area
    --------------------------------------------- */
    
    .title-area {
    	float: left;
    	padding-bottom: 27px;
    	padding-top: 27px;
    	width: 20%;
    }
    
    .header-image .title-area {
    	margin-bottom: 4px;
    	margin-top: 3px;
    	min-height: 65px;
    	padding:0;
    /*	width: 200px; - commented this line, replaced by the next one and it worked */
    	width: 20%;
    }
    
    February 6, 2019 at 11:43 am #489354
    tomatillodesign
    Member

    This worked for me. Great solution. Thank you!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How To Center Top Menu On Infinity 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

© 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