In mobile, I want part of my header to desapear as I scroll down. I want the icon to desapear but I want the options botton to still there, with a background color for the off canvas navigation button within the header.
I will add an image so you can understand me better.
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
@media only screen and (max-width: 999px) and (min-width: 1px) {
#header-outer #top .col.span_3 #logo {
visibility:hidden !important;
}
body #header-outer[data-has-menu][data-format][data-padding][data-using-logo] > #top .slide-out-widget-area-toggle[data-custom-color="true"] .lines-button:after, body #header-outer[data-has-menu][data-format][data-padding][data-using-logo] > #top .slide-out-widget-area-toggle[data-custom-color="true"] a .lines-button i:before, body #header-outer[data-has-menu][data-format][data-padding][data-using-logo] > #top .slide-out-widget-area-toggle a .lines-button i.lines:after, body.material #header-outer .slide-out-widget-area-toggle a .close-line, body.material #header-outer[data-using-logo].transparent .slide-out-widget-area-toggle a .close-line, body.material:not(.mobile) #header-outer.transparent .slide-out-widget-area-toggle a .close-line {
background-color: #000 !important;
}
}
Hi Tahir,
Can you please tell me how to change one thing:
In mobile, I want part of my header to desapear as I scroll down. I want the icon to desapear but I want the options botton to still there, with a background color for the off canvas navigation button within the header.
I will add an image so you can understand me better.
Hey Again,
Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):
Thanks
ThemeNectar Support Team