Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15372

    I’m currently using the Display theme. I’m looking to center the text in the navigation menu.

    I’ve tried a few of the code snippets from other support topics but they didn’t seem to make any changes.

    All help would be extremely appreciated.

    Thanks!

    #87235

    Hi Phormosa,

    Find this snippet in your style.css (line 90 if you’re counting):

    .nav li a {
    display: block;
    float: left;
    line-height: 18px;
    outline: medium none;
    padding: 6px 10px;
    text-decoration: none;
    width: 100px;
    }

    Add text-align:center; after the width like this:

    .nav li a {
    display: block;
    float: left;
    line-height: 18px;
    outline: medium none;
    padding: 6px 10px;
    text-decoration: none;
    width: 100px;
    text-align: center;
    }

    That should center the text.

    Regards,

    Mya

    #87236

    Thanks! It worked perfectly.

    #87237

    Great! Let us know if you have any more questions.

    Regards,

    Mya

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to Center Menu Text in the Display theme.’ is closed to new replies.