WordPress.org

Ready to get started?Download WordPress

Forums

thememagic
[resolved] Center the text on navigation bar (7 posts)

  1. nchlsft
    Member
    Posted 1 year ago #

    I can't figure out how to change the navigation bar so that the text can be centered. Can anyone help me out?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    What CSS did you try?

  3. nchlsft
    Member
    Posted 1 year ago #

    text-align: center

    Im not very good with CSS. Maybe I'm using it on the wrong class or something?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Just checking, do you have a place in the dashboard called something like, "Custom CSS"?

  5. nchlsft
    Member
    Posted 1 year ago #

    yup! sure do.

  6. Andrew
    Forum Moderator
    Posted 1 year ago #

    To that section try adding:

    .nav {
     display: table;
     margin: 0 auto;
     float: none;
    }
  7. nchlsft
    Member
    Posted 1 year ago #

    It worked! Thanks, man!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic