Remove toggle and display menu on mobile not working
-
I have this code `
@media (max-width: 768px){
.main-navigation .menu-toggle, .main-navigation .mobile-bar-items, .sidebar-nav-mobile:not(#sticky-placeholder) {
display: none !important;
}}@media (max-width: 768px){
.main-navigation ul, .gen-sidebar-nav {
display: inline-block !important;
}}
.main-navigation .main-nav ul li a {
padding-left: 4px !important;
padding-right: 4px !important;
line-height: 10px !important;
}` which hides the menu toggle on mobile and then display the menu as i want but it refuses to work when I insert inside style.css on child theme. It works very fine if I put on additional css but that slows my site. Please any idea why this is not working in child theme stylesheet?
ThanksThe page I need help with: [log in to see the link]
- The topic ‘Remove toggle and display menu on mobile not working’ is closed to new replies.