Hello,
I’m trying to get a solid black background to the header menu on mobile. Right now on mobile, it just shows a floating hamburger menu with no background (transparent) that looks odd to me. How do I go about getting a solid background to the header on mobile? I appreciate your help, thank you!
Hey Firoze,
Try adding the following to quick css:
@media only screen and (max-width: 767px) {
.av-burger-menu-main.menu-item-avia-special.av-small-burger-icon{
background: #000;
padding: 10px;
}
.av-hamburger-inner, .av-hamburger-inner::after, .av-hamburger-inner::before{
background-color:#fff!important;
}}
Best regards,
Jordan Shannon
Thanks Jordan. Unfortunately that only added a background immediately surrounding the hamburger icon. I’m looking for a solid background that spans the entire header bar. Somehow I have achieved this on my other website http://www.truenaturemed.com , but I can’t figure out what the difference is.
Hi fulleffect256,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
.av-burger-menu-main.menu-item-avia-special.av-small-burger-icon {
background: #000;
padding: 20px;
}
.responsive #top #wrap_all #header {
min-height: 40px;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Thank you. I ended up solving it with this code:
@media only screen and (max-width: 767px) {
.av-burger-menu-main.menu-item-avia-special.av-small-burger-icon {
margin-top:-15px;
}
.responsive #top #wrap_all #header {
min-height: 55px;
}
}
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Basilis