Hi Anders,
Thanks for that, I had a bit of a play around but still cant seem it get it working. I have uploaded jquery.sticky.js and have added this to the functions.php:
wp_enqueue_script(‘sticky’, get_template_directory() . ‘/js/jquery.sticky.js’);
Then I added this to the header.php:
<script>
$(window).load(function(){
$(“.nav-toggle”).sticky({ topSpacing: 0 });
});
</script>
Not sure if I’m close or way off.
What do you mean by select the navigation element in global.js?
Any help would be appreciated.
Cheers
Jareth