Title: Class name
Last modified: June 11, 2017

---

# Class name

 *  Resolved [tjscomputing](https://wordpress.org/support/users/tjscomputing/)
 * (@tjscomputing)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/class-name-2/)
 * Good afternoon.
 * I use headway and there is a wonderful tutorial on how to obtain a sticky menu
   using your plugin. Your plugin works beautifully but I have one issue when the
   sticky menu activates I would like to change the background colour, I have CSS
   editing enabled and according to the video the class name I need to add to is.
   cloned but this doesn’t seem to work.
 * Is the sticky menu item always called cloned or has that now been changed? (the
   video is a couple of years old)
 * Many thanks for any help (yes I really am very dim and don’t really know much
   about anything)
 * Tom 🙂

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

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/class-name-2/#post-9218280)
 * Hi, thanks for trying my plugin! 🙂
 * Since version 2 of the plugin, the element is not cloned anymore but uses a different
   method.
 * If you’d like to add some styles to your element but only when it’s sticky, you
   can use a bit of CSS with this class:
 *     ```
       .sticky-element-original:not(.sticky-element-active) {
          background: black;
       }
       ```
   
 * Let me know if that helps!
 *  Thread Starter [tjscomputing](https://wordpress.org/support/users/tjscomputing/)
 * (@tjscomputing)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/class-name-2/#post-9219455)
 * You are a star, I’ve had to add !important to the color command but now works
   perfectly.
 * Thank you
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/class-name-2/#post-9246512)
 * Awesome! Glad it’s working now. 🙂

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

The topic ‘Class name’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Senff – a11n](https://wordpress.org/support/users/senff/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/class-name-2/#post-9246512)
 * Status: resolved