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 navigation

11 years ago · Last reply by Andrew Misplon 11 years ago

I am somewhat new to WordPress but not to building static sites with CSS. I am looking for the CSS element that controls the navigation container so I can center it underneath the header image I have installed. It seems to be aligned to the left. Also the drop down menus are getting cut off, could you let me know how to fix that? Any help would be 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

    Here we go; insert under Appearance > Custom CSS or style.css in your child theme:

    /* 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;
    }
    

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