WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. nchlsft
    Member
    Posted 9 months 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 Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 9 months ago #

    What CSS did you try?

  3. nchlsft
    Member
    Posted 9 months ago #

    text-align: center

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

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 9 months ago #

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

  5. nchlsft
    Member
    Posted 9 months ago #

    yup! sure do.

  6. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 9 months ago #

    To that section try adding:

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

    It worked! Thanks, man!

Reply

You must log in to post.

About this Theme

About this Topic