WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Center items in top Nav bar

[Resolved] Center items in top Nav bar

Viewing 4 replies - 1 through 4 (of 4 total)
  • martcol

    @hotmale

    You could try this:

    #main .menu {
        margin: 0 auto;
        width: 74%;
    }

    It’s not brilliant when you reduce the viewport but I think it does what you ask.

    Akaizhar

    @akaizhar

    Ehhh… not really. It messed up how much of the bar the items were able to use. Essentially I just want them to be centered, but able to auto-align as more things are added.

    Akaizhar

    @akaizhar

    I fixed this. There was a float:left hidden in one of the menu lines that once turned off, fixed my problem.

    martcol

    @hotmale

    Glad you got it sorted.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Center items in top Nav bar’ is closed to new replies.
Skip to toolbar