Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2015
    Location
    UK
    Posts
    2
    Member #
    41229

    how to set dropdown menu

    I am setting drop down menu on my website but I have problem. My Drop Down Menu hides behind the slider.
    Untitled.jpg
    CSS files I am using
    Code:
    		
    nav ul ul {
    	display: none;
    }
    
    	nav ul li:hover > ul {
    		display: block;
    	}
    nav ul ul {
    	background: #5f6975; border-radius: 0px; padding: 0;
    	position: absolute; top: 100%;
    }
    	nav ul ul li {
    		float: none; 
    		border-top: 1px solid #6b727c;
    		border-bottom: 1px solid #575f6a;
    
    	}
    		nav ul ul li a {
    			padding: 15px 40px;
    			color: #fff;
    		}	
    			nav ul ul li a:hover {
    				background: #4b545f;
    			}

  2.  

  3. #2
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Use the z-index property in css

    Parent div: z-index: 1;
    Navigation div: z-indez: 2;
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs




Remove Ads

Posting Permissions

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

Tags for this Thread

All times are GMT -6. The time now is 11:03 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com