Hi @21lab,
thanks for reporting the issue and providing both versions. That is really helpful!
Do I understand correctly that you used the “Custom Elements” option to choose the ID of the submenu to make it sticky?
What is the exact value you put in there?
Thanks,
Thomas
Thread Starter
21lab
(@21lab)
Hi! I used that area as widget: https://prnt.sc/26ob43q
and this is the value i set: https://prnt.sc/26ob70b
Thank you.
Hi @21lab,
got it, thanks, I see the issue on our end now and will see that we fix it with the next release.
Thanks,
Thomas
Thread Starter
21lab
(@21lab)
Hi! I figured out what caused the error when scrolling to the top of the page. It seems to work fine.
Next version can you add a classname when it sticks? so we can customize the CSS to make the website more dynamic.
Thank you.
Hi @21lab,
thanks for your reply.
May I ask what you found out and how you fixed it?
> Next version can you add a classname when it sticks?
Do you mean to define an element that has a sticky behavior using its class name?
You can already use class names in the Custom Element option. Just prepend “.” to the name, e.g., .some-element.
Thanks,
Thomas
Thread Starter
21lab
(@21lab)
Hi! the difference is that the element has an attribute: “position: relative” (theme’s css) https://prnt.sc/26poxr4
After removing the attribute: “position: relative” in the CSS file, it works properly: https://prnt.sc/26poyw2
I mean is when the element starts to sticky it will automatically add the classname: e.g “active” so i can style it when it’s sticky:
You can see: https://live.linethemes.com/nanosoft/it-services/managed-it/ with the old version when the menu was sticky I could change the color for it. with the current version it is not possible. https://prnt.sc/26pp4zw
Thank you!
Hi @21lab,
thanks for your feedback.
I am not completely sure from it if you are still having an issue or were able to figure out everything. Please let me know.
Thanks,
Thomas