Tagged: Burger Menu, svg logo
Hello!
How do i switch to burger menu sooner without losing my svg logo, or the logo going into strange positions above and below the main menu?
This is the code I have in the customisation section of WordPress but with the addition of a new page in the main many the logo is going over the navigation text. When I try chaning the px numbers to change the breakpoint it’s moving the logo into all sorts of strange places.
@media only screen and (max-width: 767px) {
.responsive #top .logo {
width: 168px !important;
}
}
@media only screen and (min-width: 790px) {
.responsive #top .logo {
max-height: 84px !important;
height: 84px !important;
transform: translate(0%,50%) !important;
width: 168px !important;
}
}
Many thanks in advance,
Hey ChichesterDesign,
Please change this code:
@media only screen and (min-width: 790px) {
to this:
@media only screen and (min-width: 768px) {
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria, I made the change you suggested but it didn’t work the logo is still going over the top of the menu and if I change the min-width and max-width values the logo goes to the top of the page.
Hi ChichesterDesign,
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: 989px) and (min-width: 768px) {
.responsive .logo img {
width: 300px;
margin-top: 20px;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi,
Thanks for the update. Please try this CSS as well:
@media only screen and (max-width: 1130px) {
nav.main_menu {
display: block !important;
}
#avia-menu .menu-item {
display: none;
}
.av-burger-menu-main.menu-item-avia-special {
display: block;
}
}
Best regards,
Rikard