I'm trying to center the text in my nav bar (categories).
I've tried text-align and various other options but nothing seems to be working.
My site is www.lifemaxuk.co.uk
Can someone have a look and please help as this is driving me mad!
Thanks
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI'm trying to center the text in my nav bar (categories).
I've tried text-align and various other options but nothing seems to be working.
My site is www.lifemaxuk.co.uk
Can someone have a look and please help as this is driving me mad!
Thanks
The a-element is already centered in the li-element. So if you want to center the text in your blue nav you should change the css like this:
ul {
text-align:center;
}
li a,
li {
float:none;
display:inline;
text-align:center;
}