SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2007
    Location
    Cambs/Norfolk, UK
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question drop-down menus behind slider

    Hi.

    http://www.123club.co.uk/blog

    This is a wordpress site using a child theme of Genesis and Cyclone Slider 2 plugin.

    I am having a problem in that the drop down menus drop BEHIND the slider. I think I have been staring at the code for too long because I just can't see why!

    Can anybody help point me in the right direction so that the menus drop down in FRONT of the slider?

    Cheers

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Yes, it's a z-index problem. Your slider divs are set to z-index: 96, and as they transition a higher z-index is set, so to override that, add this code to your style sheet:

    Code:
    .nav-secondary {
      position: relative;
      z-index: 200;
    }

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2007
    Location
    Cambs/Norfolk, UK
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Brilliant - works a treat! Thank you so much for your help

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    You're welcome.


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
  •