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

  1. lisamv
    Posted 2 years 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.


  2. egado
    Posted 2 years ago #

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

  3. lisamv
    Posted 2 years ago #

    Sorry, here you go! Thanks so much :)


  4. WPyogi
    Forum Moderator
    Posted 2 years 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


No tags yet.