• Resolved tjscomputing

    (@tjscomputing)


    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)
  • 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

    (@tjscomputing)

    You are a star, I’ve had to add !important to the color command but now works perfectly.

    Thank you

    Awesome! Glad it’s working now. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Class name’ is closed to new replies.