How can I have "Header Hide Until Needed" applied only to the Logo and not to the Menu button?
Such that when I scroll down, the logo hides itself but the menu button remains still, and when I do scroll up, the menu button remains visible but the logo shows itself
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):
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):
I tried the updated CSS and showed it to the client...
The client now wants to try having the Logo be fully static (not sticky) and only have the menu button be sticky without any animation or moving around... (Sorry if it's annoying :P)
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):
But he asked to make the logo visible in the mega menu 😅
As of now, the mega menu shows the logo when we are at the top of the page, but now when we have scrolled down...he wants it to be visible at all times in the mega menu
The CSS Scripts you guys have sent worked great on mobile and desktop. However, the client sent me an issue he faced on tablets.
When in portrait mode, it works great. But as soon as we change the tablet to landscape mode, the logo doesn't seem to appear when we scroll back up. Once it's already up, we would have to scroll again (or sometimes more than once) in order to make the Logo visible again.
We tried this on an iPad, both on Chrome and Safari, and faced the same issue.
In order to make that work consistently on all mobile devices, a slightly different approach would be required. Try to add in the following CSS snippet:
div#header-outer[data-permanent-transparent="1"][data-mobile-fixed="1"]:not(.side-widget-open) {
position: absolute!important;
transform: none!important;
}
body #header-outer #top .slide-out-widget-area-toggle a {
position: fixed!important;
right: 30px;
}
div#header-outer.scrolled-down:not(.side-widget-open) .col.span_3,
#top .span_9 >.slide-out-widget-area-toggle > div {
transform: none!important;
}
Unfortunately, the method I've supplied doesn't have the option to animate the states.
The excess space you're seeing is most likely related to the admin bar with the modification I supplied, which should only be visible for logged-in users. Try to add the following CSS in as well to handle that state:
The logo and menu button are properly aligned for desktop, however, for mobile devices, the logo is higher than the menu button. Could you please let me know how I can bring the logo down to the same level as the menu button?
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 (min-width: 1px) and (max-width: 999px) {
#header-outer #top #logo img {
top: 20px !important;
}
}
Hey
Hope you guys are doing well!
How can I have "Header Hide Until Needed" applied only to the Logo and not to the Menu button?
Such that when I scroll down, the logo hides itself but the menu button remains still, and when I do scroll up, the menu button remains visible but the logo shows itself
Thanks
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
Hey Tahir!
Thanks for the quick response!
I tried the script you sent, however, there is a weird jumping animation everytime we change the scroll direction from up to down or down to up..
Could you please check the link again?
I am trying to make it something like this: https://www.brucira.com/
Where the contact button hides but the menu button remains still
Hey Again,
Use this revised CSS.
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
Hey! Thank you!
I tried the updated CSS and showed it to the client...
The client now wants to try having the Logo be fully static (not sticky) and only have the menu button be sticky without any animation or moving around... (Sorry if it's annoying :P)
Could you provide the CSS for that?
Hey Again,
Please turn off the Header hide until needed Feature in the Salient Theme Options Panel so that i can write up the correct CSS.
Thanks
ThemeNectar Support Team
Done
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
Would it be possible to have the logo slide up and not just vanish?
Yes, Only use the CSS below:
Thanks
ThemeNectar Support Team
Perfect! Can't thank you enough!
God bless you!
Showed it to the client. He loved it!
But he asked to make the logo visible in the mega menu 😅
As of now, the mega menu shows the logo when we are at the top of the page, but now when we have scrolled down...he wants it to be visible at all times in the mega menu
Use below revised CSS.
instead of
Thanks
ThemeNectar Support Team
It's perfect on desktop!
However, on mobile, the logo doesn't hide itself, but rather just goes up from its normal position..
Hey Again,
Use these now
Thanks
ThemeNectar Support Team
Thank you so much!
Hey
The CSS Scripts you guys have sent worked great on mobile and desktop. However, the client sent me an issue he faced on tablets.
When in portrait mode, it works great. But as soon as we change the tablet to landscape mode, the logo doesn't seem to appear when we scroll back up. Once it's already up, we would have to scroll again (or sometimes more than once) in order to make the Logo visible again.
We tried this on an iPad, both on Chrome and Safari, and faced the same issue.
Hoping for a resolution! Thanks!
Hi There,
We are not replicating this from out end. Please let us know the tablet model/device you are experiencing this from.
Thanks.
iPad Air running iOS 12.5.4
Hey Again,
Escalating this to the developer for further testing on an actual device.
Thanks
ThemeNectar Support Team
Hey alberteck,
In order to make that work consistently on all mobile devices, a slightly different approach would be required. Try to add in the following CSS snippet:
Kind regards,
Hey!
Thank you for the response
The CSS provided kind of works, however:
1) On desktop, both the logo and the menu seem to have shifted downwards, how could we retain the original position?
2) Would it be possible to retain the animation for the logo?
Thank you!
Hey alberteck!
Unfortunately, the method I've supplied doesn't have the option to animate the states.
The excess space you're seeing is most likely related to the admin bar with the modification I supplied, which should only be visible for logged-in users. Try to add the following CSS in as well to handle that state:
Hey
Yes you are correct, it is only visible to the logged in users, but the client expects employees to log in apparently.
I tried adding that CSS you just sent, it pushes the logo upwards, but it also pushes the logo up in the megamenu, making it go beyond the browser...
Can you provide a temporary admin login so that I can see what you're referring to?
Kind regards,
Thanks,
I've amended the snippet to the following which should take care of the issue:
Kind regards,
Hi
Thanks! That solved the issue!
I showed it to the client, he was happy with it but pointed out that the Logo and the Menu button weren't aligned properly.
I have attached the screenshots for both mobile and desktop.
Hey,
I'm glad to hear - I just added in one last snippet to handle the vertical adjustment:
Cheers
Thank you so much!
You're welcome
Hi!
The logo and menu button are properly aligned for desktop, however, for mobile devices, the logo is higher than the menu button. Could you please let me know how I can bring the logo down to the same level as the menu button?
Screenshot attached below
Hey,
Please provide the page url so that i can write up the custom css for whats possible.
Thanks
ThemeNectar Support Team
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
Perfect! Thanks!