• Resolved Kapitalust

    (@kapitalust)


    So I used to have the menu centred but I stupidly deleted some css code I had put in CSS Stylesheet Editor (under Appearances>Edit CSS) tonight and the menu has gone over to the right.

    I’m wondering if anyone knows how I can get my menu back centred?

    https://www.kapitalust.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Kapitalust

    (@kapitalust)

    Never mind, I seem to have figured it out rather inelegantly.

    I searched around for others with similar problems and by putting in the following custom css, I was able to stumble on centring the menu:

    .main-navigation ul {
    float: none;
    }

    #logo {
    min-width: 100%;
    text-align: center;
    }
    .nav-wrap {
    width: 100%;
    }
    .main-navigation {
    text-align: center;
    width: 100%;
    }
    .menu-menu-1-container {
    display: inline-block;
    }

    Glad you’re sorted. I also wanted to let you know where you can view (and restore) earlier CSS revisions in the Jetpack Custom CSS module:

    CSS Untitled 1 1 3 by Automattic WordPress

    Hope this helps in the future!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Center Menu’ is closed to new replies.