Tagged: Burger Menu
I’ve searched and haven’t found an answer to my question so here I am. I’m using a burger menu for the main menu across all screens and I’d like to customize it by having the word, “MENU” inside a framed box. Is this possible?
Thank you!
Hey Teresa,
Thank you for the inquiry.
You can use this css code to remove the burger menu icon and display the menu text.
@media only screen and (max-width: 989px) {
/* Add your Mobile Styles here */
span.av-hamburger-inner {
display: none;
}
.av-hamburger strong {
display: block;
float: none;
height: 30px;
line-height: 30px;
font-size: 13px;
}
.av-hamburger-box {
width: auto;
height: 50px;
display: block;
line-height: 30px;
padding: 7px 13px;
border: 1px solid;
}
}
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css.
Best regards,
Ismael
Thank you Ismael, but the word “menu” is huge and outside the box. See more info below.
Hi,
Thank you for the update.
We adjusted the css code a bit, please try it again. If you want change the size of the menu text, just edit the css rule for the .av-hamburger strong element above.
Best regards,
Ismael
Thanks for your help!