StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Navigation Help (http://www.studiopress.com/support/showthread.php?t=120402)

streetfire 10-10-2012 03:21 PM

Navigation Help
 
I'm using the free Navigation Bar that is in the Resources section: http://www.studiopress.com/graphics/navigation-bars

I have successfully installed the code and everything works good. However, I'm trying to make the #nav div raise up 15 pixels on the page to overlay another graphic I have. The problem is when I do this the drop down menu's do not display correctly. Below is the only code I have added:

#nav {
background: url(images/nav-green.png);
clear:both;
color: #fff;
margin: 0 auto;
overflow: hidden;
text-transform: uppercase;
width: 960px;
position: relative;
top: -15px;

}

How can I resolve this so the drop down's will display?

NicktheGeek 10-11-2012 07:27 PM

Please post a link to your site

streetfire 10-15-2012 12:48 PM

http://www.bountiful-harvest.com/wordpress/

Please use the following to log in:

user: guest
gass: guest

NicktheGeek 10-15-2012 08:21 PM

add z-index:5;

streetfire 10-16-2012 09:28 AM

Adding it to #nav didn't change anything. :\

NicktheGeek 10-16-2012 10:29 AM

I'm getting a syntax error on your site now.

streetfire 10-17-2012 09:15 AM

I was working on it probably. Try again?

NicktheGeek 10-17-2012 09:32 AM

set the overflow to visible and put a height of about 49px in here
Code:

#nav {
    background: url(images/nav-green.png);
    clear:both;
    color: #fff;
    margin: 0 auto;
    overflow: hidden;
        text-transform: uppercase;
    width: 960px;
        position: relative;
        top: -15px;
                z-index:5;
                        }


streetfire 10-17-2012 09:53 AM

Awesome, that did it. Thanks a lot!

... now to find out why that slideshow img is not sitting in the right place.

NicktheGeek 10-17-2012 09:56 AM

You're welcome.

Since this is resolved I'm going to close this thread.


All times are GMT -5. The time now is 11:22 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.