Thanks Tom, is there any way i can add the sticky code directly to the function like what you are doing for generatepres sticky feature? I prefer using native code from the theme rather than installing another plugin
There is a workaround for this. You can add your sticky menu items to the main navigation and give it a class name that you can hide in css and only display on the sticky menu when you start scrolling. For example, let’s say you name the menu item title “sticky one” and give it a class name of sticky1. Your code would look like this: