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.

Replies

8
  1. Andrew Misplon Staff 11 years, 10 months ago

    HI Colin

    Please try the following under Appearance > Custom CSS:

    /* Vantage Center the main menu */
    .main-navigation ul {
    text-align: center;
    }
    .main-navigation ul li {
    display: inline-block;
    float: none;
    }
  2. Colin 11 years, 10 months ago

    Hi,

    Thanks for the support on this. I got it working!
    FYI: nothing happened when I added the code into” custom css”.
    But then I put it into the “edit css” and it worked!

    Regards,
    Colin

  3. Andrew Misplon Staff 11 years, 10 months ago

    No problem. It needs to be in Custom CSS to survive the next update of your theme. Please remove the changes from Appearance > Editor and put the following under Custom CSS (if you’re running Vantage Premium we have our own module Appearance > Custom CSS):

    /* Vantage Center the main menu */
    .main-navigation ul {
    text-align: center !important;
    }
    .main-navigation ul li {
    display: inline-block !important;
    float: none !important;
    }
  4. Colin 11 years, 10 months ago

    Great – Thanks Andrew

  5. Mark Payton 11 years, 8 months ago

    Awesome, you guys rock… thanks for getting back to me. This worked a treat.

  6. Andrew Misplon Staff 11 years, 8 months ago

    Super, glad we could help.

    Last night we greatly improved our search so give it a try for future challenges, the answer might on the forum. If not we’re happy to help where we can.

  7. James Carlyle-Clarke 10 years, 11 months ago

    Thanks for that.

    I improved on it, to keep the sub-menu items left aligned:

    /* Vantage Center the main menu, but not the sub-menus */
    .main-navigation ul {
      text-align: center !important;
    }
    .main-navigation ul li {
      display: inline-block !important;
      float: none !important;
      text-align: left !important;
    }
    • Andrew Misplon Staff 10 years, 11 months ago

      Nice James, thanks for sharing that with everyone.

      All the best :)

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