jarethc
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hemingway] Sticky NavigationP.s. I am also having the same issue with the sticky navigation bar going behind a contact form. Seems to only happen with certain elements.
Cheers
JarethForum: Themes and Templates
In reply to: [Hemingway] Sticky NavigationHi Tr0nlives,
In the ‘2.Structure’ section of style.css change:
.content { width: 65%; }
to
.content { width: 100%; }Hopefully that works.
Cheers
JarethForum: Themes and Templates
In reply to: [Hemingway] Sticky NavigationHey Anders,
Just needed to make the width 100% and it worked perfectly!
Thanks for all the help!Cheers
JarethForum: Themes and Templates
In reply to: [Hemingway] Sticky NavigationHi 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