SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    drop down menu falling behind slide show

    hello - been searching for this but think my file set-ups mean other solutions don't quite work for me...

    so I have a menu nav above a jquery banner, the nav has one drop-down-menu which is falling behind the banner.

    been looking at z-index setting but this doesn't seem to work for me - and this is in safai and firefox, not even a ie problem!

    here's the site, any help would be GREAT!
    http://www.onfarmsolutions.com/

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Simply add z-index: 2 to your #ofs-navigation-2 ul li selector and it will stop the drop down from falling behind the slideshow.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats Excellent!

    Thanks Very much

  4. #4
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Your welcome

  5. #5
    SitePoint Enthusiast
    Join Date
    Jun 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hope it's not too shaky there, we know what its like here in christchurch

  6. #6
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,107
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by danielhurley View Post
    hope it's not too shaky there, we know what its like here in christchurch

    LOL, it was a very minor tremor.

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Off Topic:

    That picture about sums up earthquakes in this part of the world. I really laughed when I saw that.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  8. #8
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    add css style
    #ofs-navigation-box {
    position:relative;
    z-index:999;
    }
    Last edited by ralph.m; Jun 22, 2012 at 00:58. Reason: removed fake sigs


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •