Not Solved Dropdown won't come to front
#1
Not Solved
Hello, I am trying to make a theme that is related to my store theme and I have come across a problem. I was messing around with little chunks of CSS and I just realized that the user dropdown menu thing is being weird. On the website (skyisles.com) when you log in and try to go to the user cp or private messages, you can't see the drop down because it is under everything else. How can I bring it up to the front? I tried setting the z-index to -1 and position to relative but when I do that, the dropdown just stops showing. Thanks!

.usermenu {
  	float: right;
  	position: relative;
  	list-style: none;
  	padding: 0;
  	margin: 0;
  	font-size: 14px;
}

.usermenu > li {
  	height: 48px;
}

.usermenu > li > a {
  	display: block;
  	height: 48px;
  	line-height: 48px;
  	color: #97B4CD;
  	padding: 0 15px;
  	text-shadow: 1px 1px 0 #467f01;
  	font-weight: bold;
	transition:.5s;
	line-height: 60px;
}

.usermenu > li > a:hover {
	color: #fff !important;
}

.usermenu > li > ul {
    z-index: -1; position:relative;
	box-shadow: 0 3px 3px rgba(0,0,0,.2);
  	display: none;
  	list-style: none;
  	width: 200px;
  	background: #FFF;
  	padding: 0;
  	border-radius: 3px 0 3px 3px;
  	border: 4px solid rgba(0, 0, 0, 0.05);
}

.usermenu > li > ul:before {
  	content: "";
  	width: 0;
  	height: 0;
  	border-style: solid;
  	border-width: 0 7.5px 10px 7.5px;
  	border-color: transparent transparent #ffffff transparent;
  	position: absolute;
  	top: -10px;
  	right: 11px;
}

.usermenu > li > ul > li > a {
  	text-align: left;
  	display: block;
  	padding: 7px;
  	border-bottom: 1px solid #e9e9e9;
  	font-weight: bold;
}

.usermenu > li > ul > li:last-child > a {
  	border-bottom: 0;
}

.usermenu:hover > li > ul {
  	display: block;
  	position: absolute;
  	right: 0;
  	top: 48px;
}

.usermenu:hover > li > ul > li > a:hover {
  	background: #cfd8dc;
}

.usermenu > li > ul > li:first-child a {
  	border-radius: 3px 3px 0 0;
}

.usermenu > li > ul > li:last-child a {
  	border-radius: 0 0 3px 3px;
}
Reply


Messages In This Thread
Dropdown won't come to front - by fishpicklepaste - 2017-03-26, 05:44 PM
RE: Dropdown won't come to front - by subzr1 - 2017-03-26, 05:52 PM
RE: Dropdown won't come to front - by subzr1 - 2017-03-26, 06:16 PM
RE: Dropdown won't come to front - by subzr1 - 2017-03-27, 05:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)