Jump to content
Sign in to follow this  
graceology

Centering Navigation with Sub Nav

Recommended Posts

graceology

I have browsed through the forum and have seen the responses for centering navigation, which work. The issue I have is when it becomes centered, it also centers my sub navigation inside certain menu items with drop downs. Any solutions?

Share this post


Link to post
Share on other sites
graceology

Thanks Bryan, the site is www.Graceology.com I took out the code that centered the main nav because you couldn't read the sub nav.

Share this post


Link to post
Share on other sites
Kate

Hi Christopher - You can simply reset the CSS for those child elements. For instance, if the first ul is "text-align:center", then make ul ul "text-align:left;".

Share this post


Link to post
Share on other sites
graceology

Would that be put under Custom CSS code?

Share this post


Link to post
Share on other sites
Andrew

Yes in custom CSS or in the child theme css file :)

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  

×