Move main menu to top of screen

Question

I’m using the Twenty Seventeen theme and my goal is to move the main menu (top nav) from its position under the header image to the very top of the page directly over the header image (transparent background), but there seems to be a lot of javascript in addition to css involved in positioning the menu and making it sticky when scrolling.

Can someone point me in the direction of the specific js files/functions that control and calculate the menu position on the homepage and secondary pages? It would also be useful to know the css lines that control this to check I have them all. Every time I think I’ve got the js and css covered the result is still buggy so I’m obviously missing something. Thanks.

0
, , wordfool 4 years 2017-09-24T22:34:50-05:00 0 Answers 64 views 0

Leave an answer

Browse
Browse