This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Need help centering the navigation

Open 1 reply themetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

I just began building a blog using the Vantage Theme. I am currently customizing it using a child theme and so far have gotten the header at the top with the navigation underneath. I am very new to WordPress but not to building sites with CSS, so I am wondering where in the CSS file (child) is the element that controls the navigation wrapper. I simply want to center it under the header, because it looks to be aligned to the left?
Your help would be greatly appreciated.

URL: http://www.drummingtheworld.com

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 11 years, 4 months ago

    Hi Chris

    Thanks for running Vantage.

    Adding the following to Appearance > Custom CSS will center the main menu:

    /* Vantage center align the main menu */
    
    .main-navigation ul {
    text-align: center;
    }
    
    .main-navigation ul li {
    display: inline-block;
    float: none;
    }
    
    .main-navigation ul ul li { 
    text-align: left;
    }
    

    Hope that helps.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread