Support » Fixing WordPress » White space between header and nav bar

  • I have been trying to find out the error on this project, I have a custom header image and custom nav bar which I have done many times before with wordpress. I am currently using WP version 2.5.1 and Kubrick 1.6 – I have searched all the code looking for the error that puts the white space between the header and nav bar with no luck finding it, even comparing it to other sites I have made looking for changes in the code with no luck. You can view the site Here

Viewing 2 replies - 1 through 2 (of 2 total)
  • on line 645 in your style.css, in this section:

    #navmenu {
    background:transparent url(images/navbarbg.jpg) repeat scroll 0%;

    If you change margin:10px to margin:0px the white space goes away.

    If you find you need the margin at the left, right, or bottom, you can also wrote it like this:
    margin: 0 10px 10px 10px;

    Thanks that was great information I also changed the width code to get the nav bar to be even on the sides now, anyway to get the black bar under the nav bar back or will I need to create a new header image?

    #navmenu {
    margin: 0px;
    text-align: center;
    height: 80px;
    width: 98.75%;
    background: url(‘images/navbarbg.jpg’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘White space between header and nav bar’ is closed to new replies.