Archived topic
make sticky menu same as header
3 replies · Started by johnaps on January 1, 2022
Hello!
i want to make all my header sticky not just the menu, but i want to be able to use the "hide when scroll down functionality".
Is it possible the change the element used in the sticky functionality to use my header as is?
Thank you!
Hi there,
the themes sticky navigation script can only target the navigation element it cannot be reused for the entire site header. To do that would require custom development.
Can you maybe pinpoint me where the corresponding files of the sticky navigation are, so maybe i can custom code them myself to use the header?
Its the sticky.js file found in gp-premium/menu-plus/functions/js/sticky.js