Hello!
How do i change the text in the header to a hamburger menu? And stop it from changing color when you hover over the header?
Thank you.
Alphagroup.as
alpha321
Hello!
How do i change the text in the header to a hamburger menu? And stop it from changing color when you hover over the header?
Thank you.
Alphagroup.as
alpha321
Hi @Rubberduck
May I suggest these steps:
header-drawer {
display: block!important;
}
.header__inline-menu {
display: none!important;
}
@media screen and (min-width: 990px) {
#menu-drawer {
width: 99vw;
}
body.overflow-hidden-tablet {
overflow: hidden;
}
}
Hope can help
If you find my reply helpful, please hit Like and Mark as Solution
EBOOST
Amazing, thank you very much! Is it possible to also write (Menu) On the right side of the hamburger menu?
Hi @Rubberduck
Would you like to show menu likes the screenshot below?
May I suggest to update code these steps:
header-drawer {
display: block!important;
}
@media screen and (min-width: 990px) {
#menu-drawer {
width: 99vw;
}
body.overflow-hidden-tablet {
overflow: hidden;
}
.header__inline-menu {
display: block!important;
}
body .header {
display: flex;
}
body header-drawer {
order: 1;
position: absolute;
top: 50%;
transform: translateY(-50%);
margin-top: .8125rem;
}
body .header .header__heading {
order: 3;
margin: 0 auto;
flex: 0 0 20%;
text-align: center;
}
body .header .header__icons{
order: 4;
flex: 0 0 40%;
justify-content: flex-end;
}
}
Hope can help
EBOOST