my navigation menu in wordpress is supposed to shrink (smaller font size and padding) when you scroll down any height, and it is supposed to be at normal size when you are at the most top part of the page. The problem I have is: the menu goes back to normal size if you scroll up on any height of the page.
i have tried a lot of editors and options but i can’t seem to get it right.
I hope any one you knows the answer. thank you in advance