Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Do any of you know of a way to center the main menu on my company's site? I have been trying all day and am frazzled! I've tried editing the stylesheet but nothing has fixed it. I've tried throwing white-space: nowrap around in the CSS but it had no effect regardless of where I put it. Ahh!

We're using the Meta-Morphosis theme if that is any help.

I tried creating a link but I can't use our IP address link with the link tool in the post.

http://74.220.219.109/~dentalsp/

Please help! I am so frustrated. I really appreciate it!

share|improve this question

closed as off-topic by Johannes Pille, s_ha_dum, toscho Jul 18 '13 at 20:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should be specific to WordPress within defined scope (merely happening in its context, such as generic PHP/JS/HTML/CSS, is insufficient). Might be better asked at Stack Overflow or other appropriate site of Stack Exchange network." – Johannes Pille, s_ha_dum, toscho
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

Try this :

#catnav, #catnav ul {
display: block;
font-size: 8px;
line-height: 1;
list-style: none outside none;
margin: 0 auto;
padding: 0;
position: relative;
width: 594px;
z-index: 999;
}
share|improve this answer
    
Thank you so much! –  Ross Wardrup Jul 18 '13 at 19:22

In your css edit the appropriate sections to this:

/* Cat Nav */

#menu { 
    background:#fff no-repeat top left;
    width: 100%;
    height:38px;
    z-index: 999;
    position: relative;
}

#catnav, #catnav ul {
    padding: 10;
    margin-right: auto;
        margin-left: auto;
    list-style: none; 
    line-height: 1;
    width:750px;
    z-index: 999;
    position: relative;
    font-size: 8px;
}
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.