Jump to content
Sign in to follow this  
warrenneedham

Remove padding around Navigation bar

Recommended Posts

warrenneedham

Can someone please assist with removing padding around the navigation bar. I have managed to close the gaps of white space on top and left using: #primary-nav .content {margin-left: 0px; margin-top: -5px; margin-right: 0px;} but I cannot manage to close the gap on the right. Any ideas?

Share this post


Link to post
Share on other sites
Henry Perkins
[code]#primary-nav .content { margin: 0px; padding: 0px; } #site .content, .wcontent, #primary-nav ul.main-nav.nosearch { width:auto; // you may use auto setting or 952px; }[/code] That should do the trick, let me test it myself though. :D [b]EDIT:[/b] I see the navbar you are using as a little space on the end. I believe that is due a width set of 952px - I've edited the above CSS to fit your website.

Share this post


Link to post
Share on other sites
warrenneedham
Sadly, it did not do the trick.

Share this post


Link to post
Share on other sites
Henry Perkins
Which CSS file are you editing?

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  

×