July 18, 2016 at 9:10 pm
#46025
karen2
Participant
Hi,
thank you for the code; I’m not not clear on where exactly to put it within the CSS. This is what I have showing now:
/* =Menu
-------------------------------------------------------------- */
#access {
float: right;
}
#access li {
float: left;
position: relative;
margin: 0 0 0 20px;
}
#access a {
color: #435464;
display: block;
float: left;
font-size: 16px;
text-transform: uppercase;
padding: 40px 0 0;
height: 50px;
}
#access a:hover,
#access ul li.current-menu-item a,
#access ul li.current_page_ancestor a,
#access ul li.current-menu-ancestor a,
#access ul li.current_page_item a,
#access ul li:hover > a {
color: #0ea6b5;
}
/* Dropdown */
#access ul li ul,
#access ul li:hover ul ul,
#access ul ul li:hover ul ul,
#access ul ul ul li:hover ul ul,
#access ul ul ul ul li:hover ul ul {
display: none;
z-index: 9999;
}
#access ul li:hover ul,
#access ul ul li:hover ul,
#access ul ul ul li:hover ul,
#access ul ul ul ul li:hover ul,
#access ul ul ul ul ul li:hover ul {
display: block;
}
#access ul li ul {
position: absolute;
background-color: #fff;
border-top: 4px solid #0ea6b5;
top: 100px;
left: 0;
width: 190px;
-webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#access ul li ul li {
float: none;
margin: 0;
}
#access ul li ul li a,
#access ul li.current-menu-item ul li a,
#access ul li ul li.current-menu-item a,
#access ul li.current_page_ancestor ul li a,
#access ul li.current-menu-ancestor ul li a,
#access ul li.current_page_item ul li a {
float: none;
line-height: 20px;
font-size: 13px;
font-weight: normal;
height: 100%;
padding: 6px 10px;
color: #777;
text-transform: capitalize;
}
#access ul li ul li a:hover,
#access ul li ul li:hover > a,
#access ul li.current-menu-item ul li a:hover {
background-color: #F9F9F9;
color: #0ea6b5;
}
#access ul li ul li ul {
left: 190px;
top: 0;
border: 0 none;
-webkit-box-shadow: 4px 0 8px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 4px 0 8px rgba(0, 0, 0, 0.2);
box-shadow: 4px 0 8px rgba(0, 0, 0, 0.2);
}
Thanks in advance, again.