Jump to content


Photo
- - - - -

Navigation Bar Padding


  • Please log in to reply
2 replies to this topic

#1 ryanvarley

ryanvarley

    Advanced Member

  • Members

  • 50 posts
  • Country: Country Flag

Posted 07 March 2011 - 06:32 PM

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

Please Login or Register to see this Hidden Content

Thanks

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 07 March 2011 - 08:38 PM

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

#3 ryanvarley

ryanvarley

    Advanced Member

  • Members

  • 50 posts
  • Country: Country Flag

Posted 07 March 2011 - 08:48 PM

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;

Please Login or Register to see this Hidden Content