Title: Which element?!
Last modified: February 1, 2020

---

# Which element?!

 *  Resolved [thefrizelles](https://wordpress.org/support/users/thefrizelles/)
 * (@thefrizelles)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/which-element/)
 * For some reasons the sticky menu stopped sticking (after I had to deactivate 
   all the plugins to find out what was causing an unrelated issue) and I can’t 
   for the life of me figure out how to get it to stick again… Can someone tell 
   me what element it is I want, to keep the header navbar to stick?
    I have tried:
   header.header (which is, I believe, what worked before) .header #header header
   nav .site-header #main-menu nav navbar #header-grid .nv-navbar .hfg_header.site-
   header
 * Any insight as to which will do it would be great.
    Thank you so much
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhich-element%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/which-element/#post-12387878)
 * Hi,
    I’d use `header.header`. It definitely targets the right element, only that
   one.
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/which-element/#post-12388779)
 * I had another look at your site and there seems to be something strange going
   on with JS. Sticky engages too late. Did you add/change any JS recently?
 *  Thread Starter [thefrizelles](https://wordpress.org/support/users/thefrizelles/)
 * (@thefrizelles)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/which-element/#post-12391087)
 * How did this get marked as resolved?
 * I recently had to deactivate all plugins and then reactivate them to discover
   the source of an unrelated issue, so I couldn’t really say what was done most
   recently with JS.
 * I am not trained in JS but what should I be looking for?
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/which-element/#post-12392484)
 * Keep Sticky Menu enabled and try disabling other plugins so we can rule out any
   plugin conflicts. If that doesn’t help then, unfortunately, it’s a conflict with
   the theme’s JS or less likely CSS.
 *  Thread Starter [thefrizelles](https://wordpress.org/support/users/thefrizelles/)
 * (@thefrizelles)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/which-element/#post-12579178)
 * Long story short I decided to stop using WP Hide as I believe all the URL changes
   it made prevented other plugins from finding things properly which is what I 
   believe was the case here. Using other security measures for now as I don’t have
   the time to go through all of WP Hide’s settings one by one to try and pinpoint
   the issue. Menu is sticking again 🙂
 *  Plugin Author [WebFactory](https://wordpress.org/support/users/webfactory/)
 * (@webfactory)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/which-element/#post-12579181)
 * Glad to hear it 🙂

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

The topic ‘Which element?!’ is closed to new replies.

 * ![](https://ps.w.org/sticky-menu-or-anything-on-scroll/assets/icon-256x256.gif?
   rev=2564941)
 * [Sticky Menu & Sticky Header](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/)
 * [Active Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sticky-menu-or-anything-on-scroll/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [WebFactory](https://wordpress.org/support/users/webfactory/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/which-element/#post-12579181)
 * Status: resolved