Treehouse: Grow your CSS skills. Land your dream job.

How to put nav on top of jparallax?

  • # April 12, 2012 at 7:31 pm

    Hello everyone

    I want to put a navigation bar on top of a banner with a jparallax effect is there any way I can do this with jquery?, z-index doesn’t work


    # April 12, 2012 at 8:09 pm

    Are you sure z-index doesn’t work? Did you remember to set a position ? Either relative or absolute…if you don’t it isn’t going to work…

    # April 13, 2012 at 4:28 pm

    the problem is that if use z-index the parallax div goes behind the background even if I set a lower z-index for that div it doesn’t matter if I use the position absolute for the parallax because the script itself gives all the images an abolute positioning :S

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.