how to centre items in navigation bar

  • Hello,

    I am using the Pilcrow theme. Is it possible to edit the CSS so that items (ie. home, about, etc.) are centred in my navigation bar?

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • The blog you specified at http://www.thelaughingmedusa.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • With Pilcrow, this will center the menu items as long as the menu does not go to more than one line. If it does, it will revert back to left-aligned.

    #nav {
        text-align: center;
    }
    
    .menu {
        display: inline-block;
        height: 35px;
    }
  • The topic ‘how to centre items in navigation bar’ is closed to new replies.