WordPress.org

Ready to get started?Download WordPress

Forums

How to center pages titles in nav bar?? (4 posts)

  1. lisamv
    Member
    Posted 1 year ago #

    I know this has been posted a million times however, code is not always written the same so other suggestions are not working for me. I have tried every which way to center the pages titles in the nav bar with no luck. Someone please help! This is driving me crazy!

    .nav {
    position: relative;
    width: 980px;
    display: inline-block;
    background: url("images/nav_bg.gif") no-repeat scroll center center transparent;
    padding: 0px 20px;
    margin-top: 40px;
    clear: both;
    line-height: 1em;
    text-transform: uppercase;
    }

    This is the css for the nav bar.

    Thanks!

  2. egado
    Member
    Posted 1 year ago #

    Please post a link to your page, so that someone might be able to help you out. :)

  3. lisamv
    Member
    Posted 1 year ago #

    Sorry, here you go! Thanks so much :)

    http://artfulmusestudio.com/workspace102/

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Hi lisamv! Try adding this to your CSS (hopefully you are using Custom CSS):

    .menu {
       display: table;
       margin: 0 auto;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.