Title: Find the ID elements header
Last modified: February 8, 2017

---

# Find the ID elements header

 *  [alfons74](https://wordpress.org/support/users/alfons74/)
 * (@alfons74)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/)
 * Hello, I have downloaded the Sticky Menu plugin so I can fix the header to the
   top when Im scrolling. But I dont find the right id/element to get this to work.
   I have tried with Sticky Element:”header” but i dosent look good, see [http://www.spara.com/](http://www.spara.com/)
   
   I just wont the light grey section to stay and the slider is now above the header
   when I scroll? What can I do to fix this?
 * It also looks like the slider/picture is above the drop-down-menu?
 * /Alfons
    -  This topic was modified 9 years, 3 months ago by [alfons74](https://wordpress.org/support/users/alfons74/).
    -  This topic was modified 9 years, 3 months ago by [alfons74](https://wordpress.org/support/users/alfons74/).

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

 *  [Kevin](https://wordpress.org/support/users/jx-3p/)
 * (@jx-3p)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8782289)
 * Hey Alfons,
 * Rather than using the plugin, try adding this CSS to Theme Options> Advanced 
   Settings and let me know if it works for you:
 *     ```
       header.banner.headerclass {
           position: fixed;
           z-index: 1000;
           width: 100%;
       }
       ```
   
 * It seems that the plugin isn’t properly setting the z-index for the sticky header.
   Let me know what you think of this CSS.
 * -Kevin
 *  Thread Starter [alfons74](https://wordpress.org/support/users/alfons74/)
 * (@alfons74)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8784650)
 * Thank you Kevin, the css code workeds much better then the plugin 🙂
    /a
 *  Thread Starter [alfons74](https://wordpress.org/support/users/alfons74/)
 * (@alfons74)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8785268)
 * Hello Kevin.
    Well its looks good on the first page, not the other pages. You
   cant see the top of the pages? See one of the pages [http://www.spara.com/fritidshus/](http://www.spara.com/fritidshus/)/
   a
 *  [Kevin](https://wordpress.org/support/users/jx-3p/)
 * (@jx-3p)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8786536)
 * Hey,
 * Try adding this CSS:
 *     ```
       .wrap.contentclass {
           margin-top: 105px;
       }
   
       .home .wrap.contentclass {
           margin-top: 0;
       }
       ```
   
 * Let me know if that works for you!
    -Kevin
 *  Thread Starter [alfons74](https://wordpress.org/support/users/alfons74/)
 * (@alfons74)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8786646)
 * Hi Kevin
    Its better but the menu to the left is now above the header when you
   scrolling? [http://www.spara.com/fritidshus/](http://www.spara.com/fritidshus/)
 * And in the iPhone you cant see the hole title?
    -  This reply was modified 9 years, 3 months ago by [alfons74](https://wordpress.org/support/users/alfons74/).
 *  [Kevin](https://wordpress.org/support/users/jx-3p/)
 * (@jx-3p)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8786692)
 * How are you adding that menu? It should be going under the header, and I can’t
   figure out CSS to force it to.
 * I’ll keep working on it and let you know what I find.
 * -Kevin

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

The topic ‘Find the ID elements header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Kevin](https://wordpress.org/support/users/jx-3p/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/find-the-id-elements-header/#post-8786692)
 * Status: not resolved