Okay
  Public Ticket #2517932
Mobile Only: Off canvas nav showing top nav as well.
Closed

Comments

  •  9
    Shane started the conversation

    Hi guys, on mobile only, I keep getting both Top Nav and Off Canvas Nav showing up in Off Canvas Nav. Please advise.

    Shane Dieter

  •  2,965
    Andrew replied

    Hi Shane,

    Turn off the following setting in Salient > Header navigation > Off canvas/Mobile menu

    4761538283.png

    Hope this helps.

  •  9
    Shane replied

    It was off to begin with. Then i turned it on and back off again just to test it. Before you suggested it. Any other suggestions? I've actually had this problem for a couple of years with Salient and i tended to opt out of off canvas nav for this reason. But this time, i need it. Please advise. Would you like to log in and poke around? Anything at all would be appreciated.

  •  2,965
    Andrew replied

    Hi Shane,

    Add the following custom css in Salient > General settings > CSS/Script related:

    @media only screen and (max-width: 999px) and (min-width: 1px) {   body #slide-out-widget-area .mobile-only {       display: none;   }
    }
    @media only screen and (max-width: 999px) and (min-width: 1px) {   body #slide-out-widget-area .mobile-only {       display: none;   }
    }
    

    Thanks.

  •  9
    Shane replied

    Still didn't work. Any other suggestions?

  •  2,965
    Andrew replied

    Hi Shane,

    Use the following:

    @media only screen and (max-width: 1000px) {
        body #slide-out-widget-area .mobile-only {
        display: none !important;
    }
    }
    

    6483840230.png


    Thanks.

  •  9
    Shane replied

    Fixed! Thank you!! :)