Okay
  Public Ticket #1751479
Hiding Off Canvas till Mobile & Tablet?
Closed

Comments

  • JamieBurrell91 started the conversation

    Is there a way to hide the off canvas menu icon until you are on a tablet & mobile? I want a separate menu on desktop which I have set up but want to hide that ( using hide row) and then show the off canvas icon. 

  •  8,996
    Tahir replied

    Hey,

    Please provide the page url so that i can write up the custom css for whats possible.

    Thanks


    ThemeNectar Support Team 

  •   JamieBurrell91 replied privately
  •  8,996
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    header#top nav ul .slide-out-widget-area-toggle a i.lines, header#top nav ul .slide-out-widget-area-toggle a i.lines:after, #header-outer .slide-out-widget-area-toggle[data-icon-animation="simple-transform"]:not(.mobile-icon) .lines-button:after, header#top nav ul .slide-out-widget-area-toggle a i.lines:before, header#top .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:before, header#top .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:after, header#top .slide-out-widget-area-toggle[data-icon-animation="simple-transform"].mobile-icon .lines-button:after, header#top .slide-out-widget-area-toggle[data-icon-animation="spin-and-transform"].mobile-icon .lines-button.x2 .lines, body.material.mobile #header-outer.transparent:not(.directional-nav-effect):not([data-permanent-transparent="1"]) header .slide-out-widget-area-toggle a .close-line, body.material.mobile #header-outer:not(.directional-nav-effect):not([data-permanent-transparent="1"]) header .slide-out-widget-area-toggle a .close-line, #search-outer .close-wrap .close-line{
        background-color:#000 !important;
    }

    Thanks


    ThemeNectar Support Team 

  • JamieBurrell91 replied

    That doesn't seem to hide off canvas icon on the desktop.

  •  8,996
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    ul.buttons[data-user-set-ocm="1"] {
        display: none !important;
    }

    Thanks


    ThemeNectar Support Team 

  • preachingalways replied

    If you want to hide off canvas on desktop, follow what Tahir said

  • preachingalways replied

    paste in the custom css

    ul.buttons[data-user-set-ocm="1"] {    display: none !important;
    }

    That was it. Thank you

  •  75
    Scott replied

    Hey there,

    Thanks for reaching in,

    Please try preachingalways's solution and let us know if it works for you.

    Regards

    Themenectar Support Team