Jump to content
Sign in to follow this  
ryanvarley

Navigation Bar Padding

Recommended Posts

ryanvarley

Hi, How can you change the navigation bar padding? by that i mean the padding on the li elements. i have tried many different css classes and ids (with !important) and even just changing the padding on all li elements without success (i know this isn't a good idea as li's are used elsewhere but the fact i couldn't get it to work on this was troubling). Note: the site im trying to do this on is http://www.test.macgazette.net/ Thanks

Share this post


Link to post
Share on other sites
cmunns

`.main_nav ul li {padding:20px;}` (this is way more padding than you need, be advised)

Share this post


Link to post
Share on other sites
ryanvarley

Ah! that works, thanks. I have discovered that the main bulk of the padding however is on the link in the li. so for anyone else wanting to change this padding its;

.main_nav ul li a

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  

×