Tagged: Burger Menu, responsive
Hi Team,
I am working on this site and they have a long menu and I cannot seem to make it turn into the burger menu at a certain size. Here is the css I am using. What am I doing wrong?
Also, what would the css be to change the burger menu 3 lines on a transparent header but keep it a different color on a normal header? (see the website in private content area – home page vs other pages)
@media only screen and (max-width: 1150px) and (min-width: 768px) { .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
top: 0;
left: auto;
right: 0;
display: block;
}
}
Hey msbllc,
Try using this css code:
@media only screen and (max-width: 1150px) and (min-width: 768px) {
#header #avia-menu li.menu-item {
display: none;
}
#header #avia-menu li.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
Hope this helps :)
Best regards,
Nikko
Thank you Nikko – I assumed I was grabbing the wrong selectors but wasn’t sure what the correct ones were. Chrome has changed up their inspect element which some times makes it harder. I appreciate the insight though!
Hi,
You’re very much welcome. Let us know if you need further assistance :)
Best regards,
Nikko