wow, I left out a part of my question, sorry. The menu is translucent when it's small, so you can read the page behind it. I don't want that. I would like it to be a solid color

css for sticky menu
Code:
button#stickymobiletoggler{ /* mobile menu toggler */
display: none;
}
#stickymenuwrapper{
position: relative;
height: auto;
}
div#stickymenudiv{
width: 100%;
position: relative;
min-height: 50px; /* The minimum height of the sticky menu container */
background: #5EA5B9;
display: table;
margin: 0;
padding: 5px; /* The padding of the sticky menu container */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div#stickymenudiv:after{ /* pseudo element to create transparent background */
content: '';
position: absolute;
display: block;
left: 0;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
background: white;
opacity: 0;
}
div#stickymenudiv ul{
list-style: none;
position: relative;
margin: 0;
padding: 0;
width: 100%;
z-index: 5;
display: table-cell;
text-align: center;
vertical-align: middle; /* vertically center UL inside container */
font: bold 1.1em Arial;
text-transform: uppercase;
-webkit-transition: all .5s; /* transition time */
transition: all .5s; /* transition time */
}
div#stickymenudiv ul li{
display: inline;
text-align: center;
margin: auto;
}
div#stickymenudiv ul li a{
text-decoration: none;
text-align: center;
display: inline-block;
padding: 5px 10px;
border-right: 1px solid #eee;
color: black;
}
div#stickymenudiv ul li:last-of-type a{
border-right-width: 0;
}
div#stickymenudiv ul li a img{
vertical-align: middle;
border-width: 0;
}
div#stickymenudiv ul li a:hover{
background: #F9EBBB;
}
body.sticky div#stickymenudiv{ /* #stickymenudiv style when menu is sticky (BODY has sticky class) */
position: fixed;
top: 0;
left: 0;
box-shadow: 0 5px 10px rgba(0,0,0,0.3);
-webkit-animation: glidein 0.5s forwards; /* animate sticky menu into view */
animation: glidein 0.5s forwards; /* animate sticky menu into view */
}
body.sticky div#stickymenudiv:after{
opacity: .9; /* opacity of background DIV when menu is sticky */
}
@-webkit-keyframes glidein{
from{-webkit-transform: translate3d(0,-100%,0)}
to{-webkit-transform: translate3d(0,0,0)}
}
@keyframes glidein{
from{transform: translate3d(0,-100%,0)}
to{transform: translate3d(0,0,0)}
}
/* ##### responsive style ##### */
@media (max-width: 700px){
div#stickymenudiv ul{
font-size: .9em;
}
div#stickymenudiv ul li a img{
width: 36px;
height: auto;
}
}
css for the css stickymenumobile part
Code:
/*
Full screen menu style in mobile devices
700px or less device width by default
*/
@media (max-device-width: 700px){
button#stickymobiletoggler{ /* Main toggler button to toggle mobile menu state */
z-index: 100;
display: block; /* show mobile menu toggler */
position: relative;
font-size: 11px; /* change font size to change label dimensions. Leave width/height below alone */
width: 3em;
height: 2.4em;
top: 0;
left: 0;
margin: 10px 0;
background: white;
border: 0.4em solid black; /* border color */
border-width: 0.4em 0;
z-index: 10000;
cursor: pointer;
transition: all 0.3s ease-in;
}
button#stickymobiletoggler::before,
button#stickymobiletoggler::after {
/* inner stripes inside toggler */
content: "";
display: block;
position: absolute;
width: 100%;
height: 0.4em;
top: 50%;
margin-top: -0.2em;
left: 0;
background: black; /* stripes background color. Change to match border color of parent label above */
-webkit-transform: rotate(0);
transform: rotate(0);
transition: all 0.3s ease-in;
}
button#stickymobiletoggler.open{
/* state of mobile menu toggler when menu is open */
border-color: transparent;
}
button#stickymobiletoggler.open::before{
/* state of mobile menu toggler when menu is open */
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
button#stickymobiletoggler.open::after {
/* state of mobile menu toggler when menu is open */
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
div#stickymenudiv{
display: none;
box-shadow: none !important;
}
div#stickymenudiv.open{ /* #stickymenudiv style when mobile menu is open */
position: fixed;
display: table;
top: 0;
left: 0;
height: 100%;
overflow: auto;
box-shadow: 0 5px 10px rgba(0,0,0,0.3);
animation: glidein 0.5s forwards; /* animate sticky menu into view */
}
div#stickymenudiv.open:after{
opacity: .9; /* opacity of background DIV when menu is sticky */
}
div#stickymenudiv.open ul{
font-size: 1.6em;
}
div#stickymenudiv.open ul li{
display: block;
text-align: center;
margin: auto;
}
div#stickymenudiv.open ul li a{
text-decoration: none;
text-align: center;
display: block;
padding: 20px 10px;
border-right-width: 0;
border-bottom: 1px solid #eee;
color: black;
}
}
Bookmarks