WordPress menu shrinks when scrolling down (good) but grows bigger when you scroll up, no matter the height of the page (bad)

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

Read more here: WordPress menu shrinks when scrolling down (good) but grows bigger when you scroll up, no matter the height of the page (bad)

Leave a Reply

Your email address will not be published. Required fields are marked *