Jump to content
Sign in to follow this  
artsigns

How to Centre Secondary/Sub Navigation

Recommended Posts

artsigns

Hi there, Am trying to centre the secondary/sub navigation menu in the custom code box How would I do this? I found this to centre the main menu and it works and set font size.. #nav_row ul{padding-bottom:10px !important;float:none !important;text-align:center;} #primary-nav li{float:none !important;display:inline !important;} #primary-nav a{float:none !important;display:inline !important;} #primary-nav li, a {font-size: 1.6em;} Many thanks

Share this post


Link to post
Share on other sites
catrina

I think margin: 0 auto; would work but we'll have to check. Can you please post a link to your site?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
artsigns

for example the services page has a sub menu many thanks

Share this post


Link to post
Share on other sites
artsigns

I think I pushed the answered button by mistake, what would apply margin 0 auto to?? Many thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×