Forums

Navigation bar is 'hiding' beneath the body (8 posts)

  1. CariDiaz
    Member
    Posted 2 years ago #

    When you load the page, you'll briefly see the navigation bar underneath the body of the page.

    URL www sterlingelite dot com

    I've tried in the css to move it up, but can't seem to do it.

    Can someone point me in the right direction?

    thanks!

  2. Jeremy Clark
    Moderator
    Posted 2 years ago #

    Please post the name of the theme as well as the link to download the theme.

  3. CariDiaz
    Member
    Posted 2 years ago #

    the theme is neutral-10 and you can download it here -

    http://amazingwordpressthemes.com/wordpress-themes/neutral-10/

    and

    http://wpthemereview.com/neutral-10/

    thanks

  4. Edward Caissie
    Member
    Posted 2 years ago #

    If you look at line 18 in your style.css file you should see something similar to this:

    #menu {
    background:none repeat scroll 0 0 #000000;
    height:32px;
    margin:130px auto 0;
    width:780px;
    }

    The issue with your navigation bar is likely the margin property, try something like this ...

    #menu {
    background:none repeat scroll 0 0 #000000;
    height:32px;
    margin:0 0 0 130px;
    width:780px;
    }
  5. kmessinger
    Member
    Posted 2 years ago #

    Once again, fixing these errors is necessary if you want your site to appear consistently across all browsers.

    http://validator.w3.org/check?verbose=1&uri=http%3a%2f%2fwww.sterlingelite.com%2f

  6. CariDiaz
    Member
    Posted 2 years ago #

    Hi Cais, thanks for the tip. It brought it up. Only thing is now it's to the left. How do i center it back up?

    Kmessinger - i know, i know :) I'm working on them and trying to knock them out. Just needed the nav bar to show back up asap. Thanks again, though, appreciate your help.

  7. Edward Caissie
    Member
    Posted 2 years ago #

    Changing the 'margin' property to margin: 0 auto; will center the menu within its block

  8. CariDiaz
    Member
    Posted 2 years ago #

    Cais... again, thanks a bunch!!!

    now to work on the errors :P

Topic Closed

This topic has been closed to new replies.

About this Topic