- Messages
- 573
- Reaction score
- 12
- Points
- 28
nag didisappear yung last na nasa shop yung Serenity : Syrup & Sauces template kasi to kaya ineedit ko na lang
Html
<div id="menu">
<ul class="menu-container">
<li><a href="index.php?route=common/home">Home</a></li>
<li class="parent"><a href="#">Shop</a>
<div>
<ul>
<li class="child parent">
<a style="cursor: pointer;" >Coffee</a>
<div>
<ul>
<li class="child parent">
<a href="http://mycoffeelab.com/index.php?route=product/category&path=89_154">Artisans</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=89_148">Bluenotes</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;" >Coffee Equipments</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_123">Hario</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_151_153">Ceado</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;" >Coffee Machines</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_156">Jura</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_157">Proaster</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_158">Wega</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_159">WMF</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;">Serenity : Syrup & Sauces</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_144_145">Syrup</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_144_146">Sauces</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
Here is the CSS
/*Header menu*/
#menu{
width: 100%;
margin: 0;
height: 52px;
position: relative;
background: /*#251505*/ rgba(247,247,247,0.5) url("../image/sk-a0.png") repeat-x;
font-family: "Oswald", sans-serif;
letter-spacing: 0.125em;
}
#menu a{
font-family: Oswald, sans-serif;
font-size: 14px;
}
#menu .menu-container{
margin: 0 auto;
max-width: 960px;
}
#menu .menu-container:before{
content: "";
display: block;
position: absolute;
z-index: 5;
left: 0;
bottom: 0;
width: 100%;
height: 5px;
/*background: transparent url("../image/sk-a2.png") repeat-x;*/
}
#menu .menu-container li{
float: left;
position: relative;
margin: 0;
}
#menu .menu-container li.parent div ul{
margin: 0;
}
#menu .menu-container li.parent div ul li{
float: none;
}
#menu a{
color: #fff;
font-size: 14px;
display: inline-block;
line-height: 52px;
padding: 0 10px;
text-decoration: none;
text-transform: uppercase;
}
#menu li:hover > a{
color: #fff;
background-color: #5ceeed;
background-color: rgba(92,238,237,0.95);
}
#menu ul ul :hover > a.child {
color: #fff;
background: #26E8E8;
background: rgba(38, 232, 232, 0.95);
background-image: url("../image/menu-drop-down.png");
display: none;
position: relative;
}
#menu li.parent > a{
background-image: url("../image/menu-drop-down.png");
background-position: 95% 50%;
background-repeat: no-repeat;
padding-right: 17px;
}
#menu ul ul{
-webkit-transition: opacity .4s;
-moz-transition: opacity 0.4s;
-o-transition-property: opacity;
-o-transition-duration: 0.4s;
transition: opacity 0.4s;
margin: 0;
opacity: 0;
filter: alpha(opacity=0);
height: 0;
overflow: hidden;
position: absolute;
top: 45px;
left: 0;
float: left;
min-width: 100px;
z-index: 669;
background-color: rgba(38, 232, 232, 0.95);
display: inline;
}
#menu ul ul a{
font-size: 0.9em;
line-height: 26px;
white-space: nowrap;
padding: 5px 20px;
min-width: 140px;
height: auto;
background: #26E8E8;
background: rgba(38, 232, 232, 0.95);;
border-top: 1px #62eeef solid;
}
#menu ul ul li.child:first-child::before,
#menu ul ul li.child:last-child::after {
content: "";
display: block;
min-width: 100px;
height: 0px;
}
#menu ul ul li.child:first-child::before {
border-top: 3px solid white;
margin: 10px 20px 0 20px;
}
#menu ul ul li.child:last-child::after {
border-bottom: 3px solid white;
margin: 0 20px 10px 20px;
clear: both;
}
#menu ul ul ul{
-webkit-transition: opacity .4s;
-moz-transition: opacity 0.4s;
-o-transition-property: opacity;
-o-transition-duration: 0.4s;
transition: opacity 0.4s;
margin: 0;
opacity: 0;
filter: alpha(opacity=0);
height: 0;
overflow: hidden;
position: relative;
top: 0px;
left: 0;
float: right;
min-width: 100px;
z-index: 669;
background-color: transparent;
display: block;
}
#menu ul ul div {
/*position: relative;
top: -50px;
left: 100%;*/
background: transparent;
}
#menu ul ul li.child > a {
/*background-image: url("../image/menu-drop-down.png");*/
background-position: 95% 50%;
background-repeat: no-repeat;
padding-right: 17px;
clear: both;
}
#menu ul ul ul a{
font-size: 0.9em;
line-height: 26px;
white-space: nowrap;
padding: 5px 40px;
min-width: 140px;
height: auto;
background: transparent;
background: transparent;
border-top: 1px #62eeef solid;
}
#menu ul ul ul a:hover{
background-image: none;
}
/*#menu ul ul ul li:first-child::before,
#menu ul ul ul li:last-child::after {
content: "";
display: block;
min-width: 100px;
height: 0px;
}
#menu ul ul ul li:first-child::before {
border-top: 3px solid white;
margin: 10px 20px 0 20px;
}
#menu ul ul uls li:last-child::after {
border-bottom: 3px solid white;
margin: 0 20px 10px 20px;
clear: both;
}*/
#menu .li-points-pr:hover .li-points,
#menu li:hover > div > ul{
height: auto;
overflow: visible;
opacity: 1;
filter: alpha(opacity=100);
}
#menu .menu-points{
text-indent: -666em;
font-size: 0.001em;
overflow: hidden;
width: 29px;
background: transparent url("../image/bg-menu-hellip.png") no-repeat 50% 50%;
}
#menu .li-points-pr ul{
right: 0;
left: auto;
}
#menu .li-points-pr ul ul{
top: 0;
right: 100%;
}
/*end Header menu*/
Html
<div id="menu">
<ul class="menu-container">
<li><a href="index.php?route=common/home">Home</a></li>
<li class="parent"><a href="#">Shop</a>
<div>
<ul>
<li class="child parent">
<a style="cursor: pointer;" >Coffee</a>
<div>
<ul>
<li class="child parent">
<a href="http://mycoffeelab.com/index.php?route=product/category&path=89_154">Artisans</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=89_148">Bluenotes</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;" >Coffee Equipments</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_123">Hario</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_151_153">Ceado</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;" >Coffee Machines</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_156">Jura</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_157">Proaster</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_158">Wega</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=155_159">WMF</a>
</li>
</ul>
</div>
</li>
<li class="child parent">
<a style="cursor: pointer;">Serenity : Syrup & Sauces</a>
<div>
<ul>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_144_145">Syrup</a>
</li>
<li>
<a href="http://mycoffeelab.com/index.php?route=product/category&path=_144_146">Sauces</a>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
Here is the CSS
/*Header menu*/
#menu{
width: 100%;
margin: 0;
height: 52px;
position: relative;
background: /*#251505*/ rgba(247,247,247,0.5) url("../image/sk-a0.png") repeat-x;
font-family: "Oswald", sans-serif;
letter-spacing: 0.125em;
}
#menu a{
font-family: Oswald, sans-serif;
font-size: 14px;
}
#menu .menu-container{
margin: 0 auto;
max-width: 960px;
}
#menu .menu-container:before{
content: "";
display: block;
position: absolute;
z-index: 5;
left: 0;
bottom: 0;
width: 100%;
height: 5px;
/*background: transparent url("../image/sk-a2.png") repeat-x;*/
}
#menu .menu-container li{
float: left;
position: relative;
margin: 0;
}
#menu .menu-container li.parent div ul{
margin: 0;
}
#menu .menu-container li.parent div ul li{
float: none;
}
#menu a{
color: #fff;
font-size: 14px;
display: inline-block;
line-height: 52px;
padding: 0 10px;
text-decoration: none;
text-transform: uppercase;
}
#menu li:hover > a{
color: #fff;
background-color: #5ceeed;
background-color: rgba(92,238,237,0.95);
}
#menu ul ul :hover > a.child {
color: #fff;
background: #26E8E8;
background: rgba(38, 232, 232, 0.95);
background-image: url("../image/menu-drop-down.png");
display: none;
position: relative;
}
#menu li.parent > a{
background-image: url("../image/menu-drop-down.png");
background-position: 95% 50%;
background-repeat: no-repeat;
padding-right: 17px;
}
#menu ul ul{
-webkit-transition: opacity .4s;
-moz-transition: opacity 0.4s;
-o-transition-property: opacity;
-o-transition-duration: 0.4s;
transition: opacity 0.4s;
margin: 0;
opacity: 0;
filter: alpha(opacity=0);
height: 0;
overflow: hidden;
position: absolute;
top: 45px;
left: 0;
float: left;
min-width: 100px;
z-index: 669;
background-color: rgba(38, 232, 232, 0.95);
display: inline;
}
#menu ul ul a{
font-size: 0.9em;
line-height: 26px;
white-space: nowrap;
padding: 5px 20px;
min-width: 140px;
height: auto;
background: #26E8E8;
background: rgba(38, 232, 232, 0.95);;
border-top: 1px #62eeef solid;
}
#menu ul ul li.child:first-child::before,
#menu ul ul li.child:last-child::after {
content: "";
display: block;
min-width: 100px;
height: 0px;
}
#menu ul ul li.child:first-child::before {
border-top: 3px solid white;
margin: 10px 20px 0 20px;
}
#menu ul ul li.child:last-child::after {
border-bottom: 3px solid white;
margin: 0 20px 10px 20px;
clear: both;
}
#menu ul ul ul{
-webkit-transition: opacity .4s;
-moz-transition: opacity 0.4s;
-o-transition-property: opacity;
-o-transition-duration: 0.4s;
transition: opacity 0.4s;
margin: 0;
opacity: 0;
filter: alpha(opacity=0);
height: 0;
overflow: hidden;
position: relative;
top: 0px;
left: 0;
float: right;
min-width: 100px;
z-index: 669;
background-color: transparent;
display: block;
}
#menu ul ul div {
/*position: relative;
top: -50px;
left: 100%;*/
background: transparent;
}
#menu ul ul li.child > a {
/*background-image: url("../image/menu-drop-down.png");*/
background-position: 95% 50%;
background-repeat: no-repeat;
padding-right: 17px;
clear: both;
}
#menu ul ul ul a{
font-size: 0.9em;
line-height: 26px;
white-space: nowrap;
padding: 5px 40px;
min-width: 140px;
height: auto;
background: transparent;
background: transparent;
border-top: 1px #62eeef solid;
}
#menu ul ul ul a:hover{
background-image: none;
}
/*#menu ul ul ul li:first-child::before,
#menu ul ul ul li:last-child::after {
content: "";
display: block;
min-width: 100px;
height: 0px;
}
#menu ul ul ul li:first-child::before {
border-top: 3px solid white;
margin: 10px 20px 0 20px;
}
#menu ul ul uls li:last-child::after {
border-bottom: 3px solid white;
margin: 0 20px 10px 20px;
clear: both;
}*/
#menu .li-points-pr:hover .li-points,
#menu li:hover > div > ul{
height: auto;
overflow: visible;
opacity: 1;
filter: alpha(opacity=100);
}
#menu .menu-points{
text-indent: -666em;
font-size: 0.001em;
overflow: hidden;
width: 29px;
background: transparent url("../image/bg-menu-hellip.png") no-repeat 50% 50%;
}
#menu .li-points-pr ul{
right: 0;
left: auto;
}
#menu .li-points-pr ul ul{
top: 0;
right: 100%;
}
/*end Header menu*/