3

i have a very large mega menu drop down menu and it gets a little irritating with it opens just from scrolling over when trying to get to content and the mega menu opens covering a large portion of the screen. is there a way to 1 sec. delay in css the menu when you hover over it before it drops down?

here's the website http://www.brokenarrowwear.com/

    button, .button {
    padding: 0.7rem 1.345rem 1.0625rem; /*move menu text height*/
    font-size: 1.5rem;
}
.button-group > li > button, .button-group > li .button {
    height: 44px; /*move menu background height */
    margin-top: -10px;
}
.button-group > li {
    height: 30px;
    border-left: 1px solid #899299;
}
.button-group {
    width: 104%;
    letter-spacing: .014em;
}
.button-group .button {
    font-family: 'Pathway Gothic One', sans-serif;
    color: black;
    background-color: ;
    text-transform: uppercase;
}
.buttonleft {
    border-left: 0 !important;
}
.button-group .button:hover {
    background: white;
    box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.08);
}

/*Strip the ul of padding and list styling*/
.menu ul {
    list-style-type:none;
    padding:0;
    position: absolute;
}

/*Style for menu links*/
.menu li a {
    /*display:block;*/
    text-align: center;
    text-decoration: none;
    color: transparent;
}

/*Hover state for top level links*/
.menu li:hover .button {
    background: white;
    color: #828282; /* hover on menu links */
}

.menu li:hover {
    box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.08);
}
/*Style for dropdown links*/
.menu li:hover ul .button {
    background: white;
    color: #161616;
    height: 40px;
    line-height: 40px;
}

/*Hover state for dropdown links*/
.menu li:hover ul a:hover {
    color: #161616;
}

/*Hide dropdown links until they are needed*/
.menu li ul {
    display: none;
    z-index: 100;
    width: 101.5%; /* width of drop down box */
}

/*Make dropdown links vertical*/
.menu li ul li {
    display: block;
    float: none;
    box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.08);
}

.hidden li {
    width: 96%;
    height: 461px;
    background-color: white;
}
.hidden li img {
    margin-top: -55px;
}
.hidden
{
    left:0px;
    margin-top: -20px;
    margin-left: -2px;
}

/*Display the dropdown on hover*/
.menu ul li a:hover + .hidden, .hidden:hover {
    display: block;
}
Felicyia
  • 139
  • 4
  • 16

2 Answers2

1

You can use the transitions option to delay hovers. Try this:

div:hover{ 
    transition-delay:1s;
}
0

You can change in the foundation.css in the below block -

.button, button {
...
}

or you can override it in your style.css

Felix A J
  • 6,300
  • 2
  • 27
  • 46