Title: &#039;Sticky&#039; Menu jQuery
Last modified: August 20, 2016

---

# 'Sticky' Menu jQuery

 *  Resolved [melanie patterson](https://wordpress.org/support/users/thosethingstheysaid/)
 * (@thosethingstheysaid)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/)
 * Hello! I’m trying to install a ‘sticky’ or fixed menu to my WordPress as per 
   [this demo](http://www.backslash.gr/demos/jquery-sticky-navigation/). The method
   on doing so is [here](http://www.backslash.gr/content/blog/webdevelopment/6-navigation-menu-that-stays-on-top-with-jquery).
   I’ve been trying to apply it, with no success.
 * I’m not quite sure how to place new div containers around my menu so I’ve just
   been using #menu-main and .menu-main-container in place of everything that’s 
   in the code (i.e. #stickynavigation).
 * I’ve also replaced all the instances of a ? with ‘jQuery’.
 * Unfortunately, since I am working on a local server I am unable to show you a
   live version. I should probably also point out that I’m using Thesis by DIYThemes
   and I’ve asked this question over there already, but haven’t been given directions
   that give me what I specifically need from this code. If you could match me up
   with any other code that catches the menu upon scroll (opposed to hesitating 
   and catching the menu with a delay) as effectively as this one, that’s all I’ll
   need.
 * Thank you!

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

 *  Thread Starter [melanie patterson](https://wordpress.org/support/users/thosethingstheysaid/)
 * (@thosethingstheysaid)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520582)
 * Also, I forgot to place it in up there but let me know if you need to see my 
   code. As I said, I’m working with Thesis so my files might be a little different.
   I also have my jQuery in a folder inside of my Child Theme folder.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520583)
 * Generally you need to be looking at the browser’s console log when developing
   JavaScript. Browser developer tools like [Firebug](http://getfirebug.com) often
   have access to these logs, so if you’re not already, you really do need to be
   using them. It usually spits out useful JavaScript errors.
 * We can’t recommend anything specific because we don’t have access to commercial
   themes, so we wouldn’t know how they operate.
 *  Thread Starter [melanie patterson](https://wordpress.org/support/users/thosethingstheysaid/)
 * (@thosethingstheysaid)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520586)
 * Alrighty, thank you for letting me know. I already use Firebug and wouldn’t be
   able to function without it, hahaha.
 * Anyway, quick question. I know you can’t really help me out much. _Should_ this
   code work upon placing it in? Or does it need modifications for WordPress standards?
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520594)
 * WordPress does have its little rules
    [http://codex.wordpress.org/Using_Javascript](http://codex.wordpress.org/Using_Javascript)
   [http://codex.wordpress.org/Function_Reference/wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 * In particular, check out its section on _[noConflict wrappers](http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers)_.
 *  Thread Starter [melanie patterson](https://wordpress.org/support/users/thosethingstheysaid/)
 * (@thosethingstheysaid)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520595)
 * Okay, thank you very much!

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

The topic ‘'Sticky' Menu jQuery’ is closed to new replies.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [Sticky Menu](https://wordpress.org/support/topic-tag/sticky-menu/)
 * [sticky navigation](https://wordpress.org/support/topic-tag/sticky-navigation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [melanie patterson](https://wordpress.org/support/users/thosethingstheysaid/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/sticky-menu-jquery/#post-3520595)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
