I’m using Superfly for my menu on mobile and Uber Menu for my menu up to the 767px breakpoint. I’ve worked out how to hide on desktop via this code
/* SUPERFLY MENU */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 5000px) {
.superfly-on #sfm-sidebar {
display: none !important;
}
}
And have tried to hide uber menu via
@media only screen
and (max-width: 767px) {
.x-navbar .ubermenu {
display: none !important;
}
}
but it doesn’t work? I’ve tried just using .x-navbar as well but still no luck.
Also one other problem
When I open the superfly menu on a desktop that has a browser window width of less than 767px it just doesn’t open at all. When I click on the hamburger icon this happens
So no menu is showing at all. Any help would be great.
Thanks
EDIT: Also because of Superfly for some reason there was a
.sfm-no-mobile.sfm-pos-right.sfm-bar body, .sfm-no-mobile.sfm-pos-right.sfm-bar #wpadminbar {
padding-right:100px !important;
}
causing my site to be offset by 100px so i’ve had to enter
.sfm-no-mobile.sfm-pos-right.sfm-bar body, .sfm-no-mobile.sfm-pos-right.sfm-bar #wpadminbar {
padding-right:0px !important;
}
into the custom CSS. What is this code above changing?