I would like to use the sticky menu, but have the logo area scale to 0px height when the user scrolls the page, essentially getting rid of the logo area but retaining the horizontal menu (so that only the menu remains as ‘sticky’).
Is this possible?
Thanks!
Hi nokostudio!
Add this to your custom CSS.
.header-scrolled .logo {
display: none;
}
Best regards,
Elliott
Thanks Elliot!
Almost does the job – now I just need to have the logo container scale to 0px height on scroll, so that the menu is at the top of the page without the empty logo area above it.
Thanks!
Hi!
I checked your site again but it looks different now and the header is no longer scrolling.
Take a screenshot and highlight what your trying to do so we can get a better idea.
Best regards,
Elliott
Hi Elliot
Yes I deflected the sticky header as the site had to go live.
I have put it back on temporarily.
This is what I wanted to achieve (screenshots: https://www.dropbox.com/s/03qm4vcecflfm6l/default-menu-state.jpg?dl=0 and https://www.dropbox.com/s/ixdy80j2yf3jjtg/scrolled-menu.jpg?dl=0).
Default menu is full logo and menu below.
Scrolled state has the logo scaled to zero px height/width (including its container), with only the menu sticky at page top.
Thanks for you help!
Cheers
Hi!
Try this out.
.header-scrolled #header_main > .container {
display: none;
}
Best regards,
Elliott