Freeze header (partially)

I think the setting to be able to freeze the header is great and I know lots of sites do it. It’s a feature I really like, but with the theme my site works with, the header covers most of the page when frozen.

I only want to freeze the menu part of the header, so when I scroll down, I want the menu part to stay at the top, but the rest of the header gone.

I’m thinking about coding with this algorithm: check when the scroll hits a certain position (the exact position where only the menu is visible), then pin the element or somehow hold that position.

How could I implement this with Wix code? I’m really new to Wix code and the features that it offers.

1 Like

Hello Pranav, Im not a coder but I might be able to help you until you get answers from the experts… I think this is called " On-Scroll Animated Header " check this How to Create an On-Scroll Animated Header Using Wix Code (Step-by-Step) - YouTube
even if its not it… this method can help do somethings else other than what this guy did… the menu just changes shape or size on scroll down…

Wow that’s really great! I’ll work on implementing that. Thanks!

Thank you so much!