• Resolved ysgmesh

    (@ysgmesh)


    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?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter ysgmesh

    (@ysgmesh)

    Finally resolved this issue. It was a cache plugin that was display cached page. Now it works fine. Thanks

    • This reply was modified 5 years, 5 months ago by ysgmesh.
Viewing 1 replies (of 1 total)
  • The topic ‘Remove toggle and display menu on mobile not working’ is closed to new replies.