• Resolved PWalberg

    (@pwalberg)


    Anybody know how to center the navigation on this theme?

    text-align: center; and float: left; don’t work.

    TIA

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author themeshaker

    (@themeshaker)

    Hi PWalberg,

    The menu is floating on the left within reason. It is not a single object on that line and a simple use of ‘text-align’ property won’t do the trick. In order to center the navigation on this theme, try the following modifications:

    .main-navigation ul {
    text-align: center;
    }

    .main-navigation li {
    float: none;
    display: inline-block;
    }

    .site-header .search-form {
    display: none;
    }

    Thread Starter PWalberg

    (@pwalberg)

    Thank you thank you thank you. Perfect.

    And thanks for the awesome themes too, by the way!

    Theme Author themeshaker

    (@themeshaker)

    You’re welcome ??

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