Title: Sticky Navigation Issue
Last modified: August 21, 2016

---

# Sticky Navigation Issue

 *  [MortalWombatCombat](https://wordpress.org/support/users/mortalwombatcombat/)
 * (@mortalwombatcombat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/)
 * Hello
 * I’ve been trying for hours now to include a sticky navigation, as per this tutorial:
   
   [http://webdesign.tutsplus.com/tutorials/javascript-tutorials/create-a-sticky-navigation-header-using-jquery-waypoints/](http://webdesign.tutsplus.com/tutorials/javascript-tutorials/create-a-sticky-navigation-header-using-jquery-waypoints/)
 * I’ve followed all the steps and have everything in place — css, JavaScript, etc.—
   however the navigation doesn’t ‘stick’.
 * The navigation itself shows, and does stick if I manually change the id to sticky,
   but it won’t do it on its own as needed.
 * I’ve copied all the coding onto a test html page, and the navigation sticks as
   it should, so I’m thinking this has something to do with how WordPress treats
   JavaScript, but I honestly know very little about the topic, so I’m fairly clueless—
   I’m basically a copy-and-paster when it comes to JavaScript.
 * Any ideas on how I can fix the issue? Here’s the page I’m working on:
    [http://natureswonderland.com.au/wwoof/](http://natureswonderland.com.au/wwoof/)
 * Thanks in advance.
 * – Natasha

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529492)
 * It looks like your links to the required JS files are incorrect.
    When looking
   at the page source and clicking the links for jquery.scrollTo.min.js, waypoints.
   min.js and navbar2.js, it comes up with a 404 error page, meaning they cant be
   found.
 *  Thread Starter [MortalWombatCombat](https://wordpress.org/support/users/mortalwombatcombat/)
 * (@mortalwombatcombat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529503)
 * Thanks for the quick reply.
 * I’ve just gone and checked, and the files are definitely uploaded to the directory
   and when I click the links from the page source, each of the files loads the 
   content, so I’m not sure why you’re seeing 404 error pages for the .js files.
 * _[ Please do not bump, that’s [not permitted here](http://codex.wordpress.org/Forum_Welcome#No_Bumping).]_
 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529638)
 * [http://s24.postimg.org/f64wqy0et/Untitled.png](http://s24.postimg.org/f64wqy0et/Untitled.png)
 *  Thread Starter [MortalWombatCombat](https://wordpress.org/support/users/mortalwombatcombat/)
 * (@mortalwombatcombat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529664)
 * OK, thanks for clarifying — I see the issue now.
 * However, having corrected this, it’s still not sticking?
 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529666)
 * Don’t know if this will work but try changing line 1 of nav2.js
 * `jQuery(function() {`
 *  Thread Starter [MortalWombatCombat](https://wordpress.org/support/users/mortalwombatcombat/)
 * (@mortalwombatcombat)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529667)
 * Unfortunately, that didn’t work, either… Is this something WordPress isn’t able
   to do?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sticky Navigation Issue’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [sticky navigation](https://wordpress.org/support/topic-tag/sticky-navigation/)

 * 6 replies
 * 2 participants
 * Last reply from: [MortalWombatCombat](https://wordpress.org/support/users/mortalwombatcombat/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/sticky-navigation-issue/#post-4529667)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
